Back to Devexpress

PdfViewerControl.HighlightSelectedText(String, Color) Method

wpf-devexpress-dot-xpf-dot-pdfviewer-dot-pdfviewercontrol-dot-highlightselectedtext-x28-system-dot-string-system-dot-windows-dot-media-dot-color-x29.md

latest1.7 KB
Original Source

PdfViewerControl.HighlightSelectedText(String, Color) Method

Highlights a selected text with a color and adds a comment to this text that will be shown in a pop-up window.

Namespace : DevExpress.Xpf.PdfViewer

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

NuGet Package : DevExpress.Wpf.PdfViewer

Declaration

csharp
public void HighlightSelectedText(
    string comment,
    Color color
)
vb
Public Sub HighlightSelectedText(
    comment As String,
    color As Color
)

Parameters

NameTypeDescription
commentString

A string that specifies the comment for a highlighted text. The comment will be shown in a pop-up window.

| | color | Color |

A Color value that specifies the color used to highlight a selected text.

|

See Also

Select

SelectAll()

PdfViewerControl Class

PdfViewerControl Members

DevExpress.Xpf.PdfViewer Namespace