Function GetCWidth returns the column width of a cell in the referenced worksheet.
FUNCTION GetCWidth(
h : HANDLE;
row : INTEGER;
col : INTEGER): INTEGER;def vs.GetCWidth(h, row, col):
return INTEGER| Name | Type | Description |
|---|---|---|
| h | HANDLE | Handle to worksheet. |
| row | INTEGER | Worksheet row index. |
| col | INTEGER | Worksheet column index. |
resultN := GetCWidth(h, 1, 2);import vs
# Function GetCWidth returns the column width of a cell in the referenced
# worksheet.
h = vs.FSActLayer() # handle to the first selected object on the active layer
row = 10
col = 5
resultN = vs.GetCWidth(h, row, col)
vs.Message('GetCWidth returned: ' + str(resultN))GetCWidth is obsolete as of VectorWorks 9.0, see GetWSColumnWidth
Availability: from All Versions