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

Adds a text annotation contained within rectangular 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 AddFreeTextAnnotation(
    int pageNumber,
    PdfRectangle rect,
    string text
)

#Parameters

Name Type Description
pageNumber Int32

The page number.

rect PdfRectangle

The rectangle that specifies the text annotation shape’s boundaries.

text String

The annotation text.

#Remarks

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

See Also