Sets the width of the nth component of the Double Line Preferences, where n is equal to index.
FUNCTION SetDLComponentWidth(
index : INTEGER;
widthDistance : REAL): BOOLEAN;def vs.SetDLComponentWidth(index, widthDistance):
return BOOLEAN| Name | Type | Description |
|---|---|---|
| index | INTEGER | The index of the component. |
| widthDistance | REAL | The width of the component. |
CJG 6-27-06
resultOK := SetDLComponentWidth(1, 1.0);import vs
# Sets the width of the nth component of the Double Line Preferences, where n
# is equal to index.
index = 1
widthDistance = 2.0
ok = vs.SetDLComponentWidth(index, widthDistance)
if ok:
vs.Message('SetDLComponentWidth succeeded')
else:
vs.Message('SetDLComponentWidth failed')VS Functions: GetDLComponentWidth
Availability: from VectorWorks12.5