Skip to content

PDFTextAlign

Namespace: O2S.Components.PDF4NET.Graphics

Specifies the available alignments for text lines.

public enum PDFTextAlign

Inheritance ObjectValueTypeEnumPDFTextAlign
Implements

Fields

Name Value Description
TopLeft 9 The text is top left aligned
TopCenter 17 The text is top center aligned
TopRight 33 The text is top right aligned
MiddleLeft 10 The text is middle left aligned
MiddleCenter 18 The text is middle center aligned
MiddleRight 34 The text is middle right aligned
BottomLeft 12 The text is bottom left aligned
BottomCenter 20 The text is bottom center aligned
BottomRight 36 The text is bottom right aligned
TopJustified 73 The text is top justified aligned. This alignment is used only by text boxes.
MiddleJustified 74 The text is middle justified aligned. This alignment is used only by text boxes.
BottomJustified 76 The text is bottom justified aligned. This alignment is used only by text boxes.