Skip to content

Latest commit

 

History

History
40 lines (33 loc) · 1.15 KB

File metadata and controls

40 lines (33 loc) · 1.15 KB

GetTextStyleRefN

Description

GetTextStyleRefN returns the text style reference at a specified position within the text object. Reference 0 means Un-Styled.

If the text object is using class text style, this returns the effective style. You should use the TextStyleByClass functions to check and preserve by-class behavior.

FUNCTION GetTextStyleRefN(
				objectId : HANDLE;
				position : INTEGER): LONGINT;
def vs.GetTextStyleRefN(objectId, position):
    return LONGINT

Parameters

Name Type Description
objectId HANDLE handle to text object
position INTEGER Position in text string, zero-based.

See Also

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

Version

Availability: from Vectorworks 2015

Category