Gets the width of the component at index in the Double Line Preferences.
FUNCTION GetDLComponentWidth(
index : INTEGER;
VAR width : REAL): BOOLEAN;def vs.GetDLComponentWidth(index):
return (BOOLEAN, width)| Name | Type | Description |
|---|---|---|
| index | INTEGER | The index of the component. |
| width | REAL | Returns the width of the component. |
CJG 6-27-06
resultOK := GetDLComponentWidth(1, 1.0);import vs
# Gets the width of the component at index in the Double Line Preferences.
index = 1
ok, width = vs.GetDLComponentWidth(index)
vs.Message('GetDLComponentWidth returned: ' + str((ok, width)))VS Functions: SetDLComponentWidth
Availability: from VectorWorks12.5