WmfVerticalTextAlignmentModeFlags

WmfVerticalTextAlignmentModeFlags enumeration

VerticalTextAlignmentMode Flags specify the relationship between a reference point and a bounding rectangle, for text alignment. These flags can be combined to specify multiple options, with the restriction that only one flag can be chosen that alters the drawing position in the playback device context. Vertical text alignment is performed when the font has a vertical default baseline, such as Kanji.

public enum WmfVerticalTextAlignmentModeFlags

Values

Name Value Description
VTA_TOP 0 The reference point MUST be on the top edge of the bounding rectangle.
VTA_RIGHT 0 The reference point MUST be on the right edge of the bounding rectangle.
VTA_BOTTOM 2 The reference point MUST be on the bottom edge of the bounding rectangle.
VTA_CENTER 6 The reference point MUST be aligned vertically with the center of the bounding rectangle.
VTA_LEFT 8 The reference point MUST be on the left edge of the bounding rectangle.
VTA_BASELINE 24 The reference point MUST be on the baseline of the text.

See Also