Skip to main content

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

public PdfAnnotationOptions AnnotationOptions { get; set; }

Property Value

Type Description
PdfAnnotationOptions

Contains annotation settings.

Remarks

The following markup configures annotation settings:

<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