Skip to content

Latest commit

 

History

History
44 lines (34 loc) · 937 Bytes

File metadata and controls

44 lines (34 loc) · 937 Bytes

GetClTextStyleRef

Description

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

Parameters

Name Type Description
className STRING Name of class

Examples

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

See Also

VS Functions: SetClUseTextStyle | GetClUseTextStyle | SetClTextStyleRef

Version

Availability: from Vectorworks 2015

Category