Search
FlowChart.TextStyle Property
See Also
 



Gets or sets the default text style.

 Syntax

VB6  Copy Code

Public Property Get TextStyle() As ETextStyle
Public Property Let TextStyle( _
    ByVal Value As ETextStyle _
)

C++  Copy Code

public:
ETextStyle get_TextStyle ()
void put_TextStyle (
    ETextStyle value
)

 Property Value

A member of the ETextStyle enumeration. The default is tsCenter.

 Remarks

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.

 See Also