Skip to content

Latest commit

 

History

History
65 lines (55 loc) · 1.23 KB

File metadata and controls

65 lines (55 loc) · 1.23 KB

GetWSCellTextFormat

Description

Returns text format settings for a cell in the referenced worksheet.

{| class="wikitable_c" |+ Table - Text Style ! Style

! Constant
Plain
style="text-align:center"
-
Bold
style="text-align:center"
-
Italic
style="text-align:center"
-
Underline
style="text-align:center"
-
Outline
style="text-align:center"
-
Shadowed
style="text-align:center"
}
PROCEDURE GetWSCellTextFormat(
				worksheet     : HANDLE;
				row           : INTEGER;
				column        : INTEGER;
				VAR fontIndex : INTEGER;
				VAR size      : INTEGER;
				VAR style     : INTEGER);
def vs.GetWSCellTextFormat(worksheet, row, column):
    return (fontIndex, size, style)

Parameters

Name Type Description
worksheet HANDLE Handle to worksheet.
row INTEGER Row of cell to be queried.
column INTEGER Column of cell to be queried.
fontIndex INTEGER Font index of cell text.
size INTEGER Font size of cell text.
style INTEGER Font style of cell text.

Remarks

Note: Outline and Shadow only display on the Mac

FontStyle integer is the sum of applicable attributes.

Version

Availability: from VectorWorks 9.0

Category

  • Worksheets