Back to Devexpress

PdfMarkupToolsSettings Class

wpf-devexpress-dot-xpf-dot-pdfviewer-21cacb51.md

latest2.9 KB
Original Source

PdfMarkupToolsSettings Class

Provides markup annotation tools settings.

Namespace : DevExpress.Xpf.PdfViewer

Assembly : DevExpress.Xpf.PdfViewer.v25.2.dll

NuGet Package : DevExpress.Wpf.PdfViewer

Declaration

csharp
public class PdfMarkupToolsSettings :
    BindableBase
vb
Public Class PdfMarkupToolsSettings
    Inherits BindableBase

The following members return PdfMarkupToolsSettings objects:

Remarks

An object of the PdfMarkupToolsSettings class can be accessed via the PdfViewerControl.MarkupToolsSettings property.

After you get access to the markup annotation tools settings, you can change the text highlight color, text strikethrough color, and text underline color using PdfMarkupToolsSettings.TextHighlightColor, PdfMarkupToolsSettings.TextStrikethroughColor, and PdfMarkupToolsSettings.TextUnderlineColor properties, accordingly.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the PdfMarkupToolsSettings class.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

wpf-pdf-viewer-create-text-markup-annotation-and-specify-its-properties/CS/MarkupAnnotations/MainWindow.xaml#L13

xml
<dxpdf:PdfViewerControl.MarkupToolsSettings>
    <dxpdf:PdfMarkupToolsSettings StickyNoteIconName="Help"
                                  StickyNoteColor="SkyBlue"

Inheritance

Object BindableBase PdfMarkupToolsSettings

See Also

PdfMarkupToolsSettings Members

DevExpress.Xpf.PdfViewer Namespace