VS:GetTextLeading

From Vectorworks Developer
Jump to navigation Jump to search

.VectorScript|VectorScript ..VS:Function Reference|Function Reference ..VS:Function_Reference_Appendix|Appendix

Description

Procedure GetTextLeading returns the custom leading value(in points) of the referenced text object.

FUNCTION GetTextLeading(
theText :HANDLE) : REAL;
def vs.GetTextLeading(theText):
    return REAL

Parameters

theText HANDLE Handle to text object.

Remarks

If a custom value was not set, this returns -1.0.

Version

Availability: from VectorWorks8.0