SetTextStyleByClassN sets a specified substring of a text object to use the class text style. To undo this, use SetTextStyleRef or SetTextStyleRefN on the text.
FUNCTION SetTextStyleByClassN(
objectId : HANDLE;
start : INTEGER;
count : INTEGER): BOOLEAN;def vs.SetTextStyleByClassN(objectId, start, count):
return BOOLEAN| Name | Type | Description |
|---|---|---|
| objectId | HANDLE | handle to text object |
| start | INTEGER | Start position in text string, zero-based. |
| count | INTEGER | Length of substring. |
VS Functions: SetTextStyleRef | GetTextStyleRef | SetTextStyleRefN | GetTextStyleRefN | SetTextStyleByClass | SetTextStyleByClassN | IsTextStyleByClass | IsTextStyleByClassN
Availability: from Vectorworks 2015