Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

C#
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