Skip to content

Latest commit

 

History

History
65 lines (52 loc) · 1.12 KB

File metadata and controls

65 lines (52 loc) · 1.12 KB

GetCAlign

Description

Function GetCAlign returns the alignment value of a cell in the referenced worksheet.

{| class="wikitable_c"

+ Table - Worksheet Cell Alignment
! Alignment !! Constant
-
General
style="text-align:center"
-
Left
style="text-align:center"
-
Right
style="text-align:center"
-
Center
style="text-align:center"
}
FUNCTION GetCAlign(
				h   : HANDLE;
				row : INTEGER;
				col : INTEGER): INTEGER;
def vs.GetCAlign(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

==== VectorScript ====

AlignmentMode := GetCAlign(WSheetHd, 4, 5);

==== Python ====

AlignmentMode = vs.GetCAlign(WSheetHd, 4, 5)

See Also

[GetWSCellAlignment | GetWSCellAlignment](GetWSCellAlignment%20| GetWSCellAlignment.md)

Version

GetCAlign is obsolete as of VectorWorks 9.0, see new [[VS:GetWSCellAlignment| GetWSCellAlignment]]

Availability: from All Versions

Category

  • Worksheets