OdTextAlignModeFlags

OdTextAlignModeFlags enumeration

The open document text align mode flags

[Flags]
public enum OdTextAlignModeFlags

Values

NameValueDescription
Noupdatecp0The drawing position in the playback device context MUST NOT be updated after each text output call. The reference point MUST be passed to the text output function.
Left0The reference point MUST be on the left edge of the bounding rectangle.
Top0The reference point MUST be on the top edge of the bounding rectangle.
Updatecp0The drawing position in the playback device context MUST be updated after each text output call. It MUST be used as the reference point.
Right1The reference point MUST be on the right edge of the bounding rectangle.
Center2The reference point MUST be aligned horizontally with the center of the bounding rectangle.
Justify4The text must be aligned in a way each text line of a paragraph has the same length.
Bottom8The reference point MUST be on the bottom edge of the bounding rectangle.
Baseline10The reference point MUST be on the baseline of the text.
Rtlreading100The text MUST be laid out in right-to-left reading order, instead of the default left-to right order. This SHOULD be applied only when the font that is defined in the playback device context is either Hebrew or Arabic.
Horizontal3Represents Horisontal text algin sets (Left | Right | Center)
Vertical18Represents Vertical text algin sets (Top | Bottom | Baseline)

See Also