Gets or sets the alignment style of the box' Text.
VB6 Copy Code |
---|
Public Property Get TextStyle() As ETextStyle |
C++ Copy Code |
---|
public: |
A member of the ETextStyle enumeration. Initialized with FlowChart.TextStyle.
Sets the position and alignment of text rendered inside a box. Values can be any of these:
tsCenter | Single line of text, centered horizontally and vertically; |
tsTop | Horizontally centered line of text at the top of the box; |
tsBottom | Horizontally centered line of text at the bottom of the box; |
tsLeft | Vertically centered line of text starting at the left side of the box; |
tsRight | Vertically centered line of text ending at the right side of the box; |
tsLeftML | Multiple left-aligned lines of text; |
tsRightML | Multiple right-aligned lines of text; |
tsCenterML | Multiple horizontally centered lines of text; |
tsBelow | Text is displayed below the box, as for desktop icons. The maximal width of the text can be changed via IconTextWidth. |
tsFitPolyTop | Text is formatted inside a polygonal shape, starting from the top. Valid for boxes of Style bsPolygon and bsShape. |
tsFitPolyCenter | Text is formatted inside a polygonal shape, centered vertically. Valid for boxes of Style bsPolygon and bsShape. |
tsFitPolyBottom | Text is formatted inside a polygonal shape, starting from the bottom. Valid for boxes of Style bsPolygon and bsShape. |