Back to Devexpress

PdfViewer.AnnotationOptions Property

maui-devexpress-dot-maui-dot-pdf-dot-pdfviewer-71d5a769.md

latest1.4 KB
Original Source

PdfViewer.AnnotationOptions Property

Gets or sets annotation settings. This is a bindable property.

Namespace : DevExpress.Maui.Pdf

Assembly : DevExpress.Maui.Pdf.dll

NuGet Package : DevExpress.Maui.Pdf

Declaration

csharp
public PdfAnnotationOptions AnnotationOptions { get; set; }

Property Value

TypeDescription
PdfAnnotationOptions

Contains annotation settings.

|

Remarks

The following markup configures annotation settings:

xaml
<dxp:PdfViewer x:Name="pdfViewer">
    <dxp:PdfViewer.AnnotationOptions>
        <dxp:PdfAnnotationOptions AllowSquiggle="False"
                                  UnderlineColor="Red"
                                  UnderlineSubject="Review"
                                  Author="Alice Smith"
                                  SquareColor="Blue"/>
    </dxp:PdfViewer.AnnotationOptions>
</dxp:PdfViewer>

For more information about annotations, refer to the following help topic: Add Annotations in the DevExpress PDF Viewer for .NET MAUI.

See Also

PdfViewer Class

PdfViewer Members

DevExpress.Maui.Pdf Namespace