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.AddSquareAnnotation(Int32, PdfRectangle) Method

Adds a rectangle with the specified boundaries on a page with the given index.

Namespace: DevExpress.Maui.Pdf

Assembly: DevExpress.Maui.Pdf.dll

NuGet Package: DevExpress.Maui.Pdf

#Declaration

C#
public void AddSquareAnnotation(
    int pageNumber,
    PdfRectangle rect
)

#Parameters

Name Type Description
pageNumber Int32

The page number.

rect PdfRectangle

The square boundaries.

#Remarks

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

See Also