Promotic
WikipediaLinkedInYoutubeTwitterFacebook

CellTextAlignVert - property of object PmTable

Description:
Vertical text alignment of the cell (eventually the whole columns and rows)

This property is obsolete (but functional) and is replaced by SetCellTextAlignVert and GetCellTextAlignVert methods.

Syntax:
CellTextAlignVert(Row As Long, Col As Long) As Long
Calling:
oTable.CellTextAlignVert(row,col) = x
Parameters:
Row(Long) If the value is >=0 then it is a index of the row (zero-based index).
Value -2 means the last row.
Value -3 sets the value to all rows.
Col(Long) If the value is >=0 then it is a index of the column (zero-based index).
Value -2 means the last column.
Value -3 sets the value to all columns.
Values:
0 - Up
1 - Center
2 - Down
Note:
Property access for read and write.

This property is not functional for Web Panels in JavaScript language.

Example:
Sets center vertical alignment for the first row
oTable.CellTextAlignVert(0,-3) = 1
oTable.Draw
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice