Procedure GetTextWidth returns the margin width of the referenced text object.
FUNCTION GetTextWidth(theText : HANDLE): REAL;def vs.GetTextWidth(theText):
return REAL| Name | Type | Description |
|---|---|---|
| theText | HANDLE | Handle to text object. |
For wrapped blocks, the margin width is that set by the user. For unwrapped blocks, it is computed by VW to be the width of the longest line.
VS Functions: SetTextWidth
Availability: from VectorWorks8.0