Skip to content

Latest commit

 

History

History
41 lines (34 loc) · 1.14 KB

File metadata and controls

41 lines (34 loc) · 1.14 KB

SetTextStyleRefN

Description

SetTextStyleRefN sets the text style of a specified substring of a text object to the referenced style. Reference 0 means Un-Styled. This procedure will replace by-class styling.

FUNCTION SetTextStyleRefN(
				objectId     : HANDLE;
				start        : INTEGER;
				count        : INTEGER;
				textStyleRef : LONGINT): BOOLEAN;
def vs.SetTextStyleRefN(objectId, start, count, textStyleRef):
    return BOOLEAN

Parameters

Name Type Description
objectId HANDLE handle to text object
start INTEGER Start position in text string, zero-based.
count INTEGER Length of substring.
textStyleRef LONGINT text style reference id

See Also

VS Functions: SetTextStyleRef | GetTextStyleRef | GetTextStyleRefN | SetTextStyleByClass | SetTextStyleByClassN | IsTextStyleByClass | IsTextStyleByClassN

Version

Availability: from Vectorworks 2015

Category