Promotic
WikipediaLinkedInYoutubeTwitterFacebook

GetCellTextAlignVert - method of object PmTable

Description:
Returns vertical text alignment of the cell.
Syntax:
GetCellTextAlignVert(Row As Long, Col As Long) As Long
Calling:
nAlign = oTable.GetCellTextAlignVert(row,col)
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.
Col(Long) If the value is >=0 then it is a index of the column (zero-based index). Value -2 means the last column.
Return Values:
0 - Up
1 - Center
2 - Down
Note:

The method can also be called in the graphic item events for Web Panels.

Example:
Read the vertical text align info of the cell on the 2nd row and 8th column.
Dim oTable, nAlign
Set oTable = pMe.Items("/Ax0").Acx
nAlign = oTable.GetCellTextAlign(1,7)
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice