Search
Table.CaptionStyle Property
See Also
 



Gets or sets the alignment style of the table Caption.

 Syntax

VB6  Copy Code

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

C++  Copy Code

public:
ETextStyle get_CaptionStyle ()
void put_CaptionStyle (
    ETextStyle value
)

 Property Value

A member of the ETextStyle enumeration.

 Remarks

Sets the position and alignment of the table caption text. The supported values are:

tsCenter

Single line of text, centered horizontally and vertically in the caption bar.

tsTop

Horizontally centered line of text at the top of the caption bar.

tsBottom

Horizontally centered line of text at the bottom of the caption bar.

tsLeft

Vertically centered line of text starting at the left side of the caption bar.

tsRight

Vertically centered line of text ending at the right side of the caption bar.

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 table, as for desktop icons. The maximal width of the text can be changed via IconTextWidth.

tsFitPolyTop

Align text to the top of the caption bar; used with EnableStyledText.

tsFitPolyCenter

Center text vertically; used with EnableStyledText.

tsFitPolyBottom

Align text to the bottom of the caption bar; use with EnableStyledText.

 See Also