Sets the text alignment style of the specified cell.
SyntaxVB6
Copy Code
|
|---|
Public Sub SetTextStyle( _ |
C++
Copy Code
|
|---|
public: |
The new text style of the cell text.
RemarksThis method sets text position and alignment of cell text. The cell position in the table is specified by col and row arguments.
newStyle can have any of these values: tsCenter, tsTop, tsBottom, tsLeft, tsRight, tsLeftML, tsRightML. To display styled text, set one of the following values: tsFitPolyTop, tsFitPolyCenter or tsFitPolyBottom.
See Also