Skip to main content
A newer version of this page is available. .

PdfStringFormat.Alignment Property

Gets or sets the horizontal alignment of the string.

Namespace: DevExpress.Pdf

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

Declaration

public PdfStringAlignment Alignment { get; set; }

Property Value

Type Description
PdfStringAlignment

A PdfStringAlignment enumeration that specifies the horizontal alignment of the string.

Available values:

Name Description
Near

The text is aligned near the layout.

Center

The text is aligned in the center of the layout rectangle.

Far

The text is aligned far from the original position of the layout rectangle.

Remarks

Use the PdfStringFormat.LineAlignment property to specify the vertical alignment of the string.

See Also