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

PdfAnnotationOptions.AllowAddSquare Property

Gets or sets whether the Add Square functionality is available. This is a bindable property.

Namespace: DevExpress.Maui.Pdf

Assembly: DevExpress.Maui.Pdf.dll

NuGet Package: DevExpress.Maui.Pdf

#Declaration

C#
public bool AllowAddSquare { get; set; }

#Property Value

Type Description
Boolean

true if the Add Free Text functionality is available; otherwise, false.

#Property Paths

You can access this nested property as listed below:

Object Type Path to AllowAddSquare
PdfViewer
.AnnotationOptions .AllowAddSquare

#Remarks

If you set the AllowAddSquare property to false, the PDF viewer hides the Add Free Text command in the toolbar and disables the AddSquareAnnotation method functionality.

See Also