Procedure SetTextStyleRef sets the text style of an object to the referenced style. Reference 0 means Un-Styled. This procedure will replace by-class styling.
PROCEDURE SetTextStyleRef(
objectId : HANDLE;
textStyleRef : LONGINT);def vs.SetTextStyleRef(objectId, textStyleRef):
return None| Name | Type | Description |
|---|---|---|
| objectId | HANDLE | handle to object |
| textStyleRef | LONGINT | text style reference id |
VS Functions: SetTextStyleRef | GetTextStyleRef | SetTextStyleRefN | GetTextStyleRefN | SetTextStyleByClass | SetTextStyleByClassN | IsTextStyleByClass | IsTextStyleByClassN
Availability: from Vectorworks 2015