Skip to main content

PdfViewer.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.XtraPdfViewer

Assembly: DevExpress.XtraPdfViewer.v23.2.dll

NuGet Package: DevExpress.Win.PdfViewer

Declaration

public void HighlightSelectedText(
    string comment,
    Color color
)

Parameters

Name Type Description
comment String

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