Back to Devexpress

PdfMarkupToolsSettings.TextHighlightColor Property

wpf-devexpress-dot-xpf-dot-pdfviewer-dot-pdfmarkuptoolssettings.md

latest2.7 KB
Original Source

PdfMarkupToolsSettings.TextHighlightColor Property

Specifies the color for a text highlight tool.

Namespace : DevExpress.Xpf.PdfViewer

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

NuGet Package : DevExpress.Wpf.PdfViewer

Declaration

csharp
public Color TextHighlightColor { get; set; }
vb
Public Property TextHighlightColor As Color

Property Value

TypeDescription
Color

A Color value that specifies the text highlight tool’s color.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to TextHighlightColor
PdfViewerControl

.MarkupToolsSettings .TextHighlightColor

|

Remarks

To access the PdfMarkupToolsSettings object, use the PdfViewerControl.MarkupToolsSettings property.

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

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#L15

xml
StickyNoteColor="SkyBlue"
TextHighlightColor="IndianRed"
TextHighlightDefaultSubject="Spelling"/>

See Also

PdfMarkupToolsSettings Class

PdfMarkupToolsSettings Members

DevExpress.Xpf.PdfViewer Namespace