TableGetTextExtΒΆ
TableGetTextExt returns the width and height of cell text.
-
rmExtend = TableGetTextExt(hTable, iCol)
-
rmExtend = TableGetTextExt(hTable, iCol, iRow)
Return Value
rmExtend is a matrix with the width in the first column and the height in the second column in centimeters. If called with the parameter iRow the the function returns width and height of specified cell.
Value Meaning rmExtend[;1] Width of the text element in cm. rmExtend[;2] Height of the text element in cm.
Parameters
-
hTable
Identifies the table object.
-
iCol
iCol is the column index starting with 1.
-
iRow
iRow is the row index starting with 1.
Comment
The table object must already have been added to a layer (diagram).
See also
id-196858