Back to Devexpress

PdfAnnotationOptions.AllowHighlight Property

maui-devexpress-dot-maui-dot-pdf-dot-pdfannotationoptions.md

latest1.7 KB
Original Source

PdfAnnotationOptions.AllowHighlight Property

Gets or sets whether to allow users to highlight the selected text with a rounded rectangle. This is a bindable property.

Namespace : DevExpress.Maui.Pdf

Assembly : DevExpress.Maui.Pdf.dll

NuGet Package : DevExpress.Maui.Pdf

Declaration

csharp
public bool AllowHighlight { get; set; }

Property Value

TypeDescription
Boolean

true if highlighting functionality is available; otherwise, false.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to AllowHighlight
PdfViewer

.AnnotationOptions .AllowHighlight

|

Remarks

If you set the AllowHighlight property to false, the PDF viewer hides the Highlight command in the selection context menu and disables the HighlightSelectedText method functionality.

Refer to the following help topic for more information about selection and highlighting in the PDF viewer control: Select and Highlight Content in DevExpress PDF Viewer for .NET MAUI.

See Also

PdfAnnotationOptions Class

PdfAnnotationOptions Members

DevExpress.Maui.Pdf Namespace