Skip to content

Latest commit

 

History

History
51 lines (40 loc) · 1.01 KB

GetCWidth.md

File metadata and controls

51 lines (40 loc) · 1.01 KB

GetCWidth

Description

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

Parameters

Name Type Description
h HANDLE Handle to worksheet.
row INTEGER Worksheet row index.
col INTEGER Worksheet column index.

Examples

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))

See Also

GetWSColumnWidth

Version

GetCWidth is obsolete as of VectorWorks 9.0, see GetWSColumnWidth

Availability: from All Versions

Category