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

PdfAcroFormCommonVisualField.TextAlignment Property

Specifies the horizontal alignment of the interactive form field’s text.

Namespace: DevExpress.Pdf

Assembly: DevExpress.Pdf.v24.2.Core.dll

NuGet Package: DevExpress.Pdf.Core

#Declaration

public PdfAcroFormStringAlignment TextAlignment { get; set; }

#Property Value

Type Description
PdfAcroFormStringAlignment

A PdfAcroFormStringAlignment enumeration value that specifies how the text is horizontally aligned within the interactive form field.

Available values:

Name Description
Near

Text is aligned near to the origin position of a field rectangle.

Center

Text is aligned in the center of a field rectangle.

Far

Text is aligned far from the origin position of a field rectangle.

See Also