Function GetClTextStyleRef gets the text style of the specified class. The integer style is the internal index of the text style.
FUNCTION GetClTextStyleRef(className : STRING): LONGINT;def vs.GetClTextStyleRef(className):
return LONGINT| Name | Type | Description |
|---|---|---|
| className | STRING | Name of class |
resultN := GetClTextStyleRef('Wall');import vs
# Function GetClTextStyleRef gets the text style of the specified class.
className = 'None'
resultN = vs.GetClTextStyleRef(className)
vs.Message('GetClTextStyleRef returned: ' + str(resultN))VS Functions: SetClUseTextStyle | GetClUseTextStyle | SetClTextStyleRef
Availability: from Vectorworks 2015