nw::font::TextWriterBase::PositionFlag Enumerated Type

Syntax

enum PositionFlag;

Value

Value Description
HORIZONTAL_ALIGN_LEFT Aligns multiple lines of text to the left.
HORIZONTAL_ALIGN_CENTER Center-aligns multiple lines of text.
HORIZONTAL_ALIGN_RIGHT Aligns multiple lines of text to the right.
HORIZONTAL_ALIGN_MASK
HORIZONTAL_ORIGIN_LEFT Places the origin at the left edge of the text.
HORIZONTAL_ORIGIN_CENTER Places the origin at the horizontal center of the text.
HORIZONTAL_ORIGIN_RIGHT Places the origin to the left edge of the text.
HORIZONTAL_ORIGIN_MASK
VERTICAL_ORIGIN_TOP Places the origin at the top edge of the text.
VERTICAL_ORIGIN_MIDDLE Places the origin at the vertical center of the text.
VERTICAL_ORIGIN_BOTTOM Places the origin at the baseline of the first line of the text.
VERTICAL_ORIGIN_BASELINE Places the origin at the bottom edge of the text.
VERTICAL_ORIGIN_MASK

Description

Text drawing flags used with the SetDrawFlag function to position the text string.


CONFIDENTIAL