GetCellTextAlignVert - method of the PmgWTable object
Description:
Returns vertical text alignment of the cell.
Syntax:
Long GetCellTextAlignVert(Long Row, Long Col)
Parameters:
Row | (Long) If the value is greater or equal 0 then it is a row index (zero-based index, counted including the fixed part).
Value -2 means the last row. |
Col | (Long) If the value is greater or equal 0 then it is a column index (zero-based index, counted including the fixed part).
Value -2 means the last column. |
---|
Return value:
0 - Up
1 - Center
2 - Down
Example:
Reading the vertical text alignment of the cell on the 2nd row and 5th column.
JavaScriptVBScriptSelect and copy to clipboard
var oTable = pMe.Items("/Table");
var nAlign = oTable.GetCellTextAlignVert(1, 4);
Dim oTable
Set oTable = pMe.Items("/Table")
Dim nAlign
nAlign = oTable.GetCellTextAlignVert(1, 4)