Gets or sets the default text style.
VB6 Copy Code |
---|
Public Property Get TextStyle() As ETextStyle |
C++ Copy Code |
---|
public: |
A member of the ETextStyle enumeration. The default is tsCenter.
Defines default text alignment for new boxes. The following values can be assigned to this property:
tsCenter | Single line of text, centered horizontally and vertically. |
tsTop | Horizontally centered line of text at the top of a box. |
tsBottom | Horizontally centered line of text at the bottom of a box. |
tsLeft | Vertically centered line of text starting at the left side of a box. |
tsRight | Vertically centered line of text ending at the right side of a 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 a box, as with 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. |
FlowChartX Programmer's Guide | © 2023 MindFusion |