PdfStringFormat.Alignment Property
Gets or sets the horizontal alignment of the string.
Namespace: DevExpress.Pdf
Assembly: DevExpress.Pdf.v24.1.Core.dll
NuGet Package: DevExpress.Pdf.Core
Declaration
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