Sets the left and right pen styles for the component at index in the Double Line Preferences.
FUNCTION SetDLComponentPenStyles(
index : INTEGER;
penStyleLeft : INTEGER;
penStyleRight : INTEGER): BOOLEAN;def vs.SetDLComponentPenStyles(index, penStyleLeft, penStyleRight):
return BOOLEAN| Name | Type | Description |
|---|---|---|
| index | INTEGER | The index of the component. |
| penStyleLeft | INTEGER | The pen style of the component's left line. Positive values for patterns, negative values for dash styles. |
| penStyleRight | INTEGER | The pen style of the component's right line. Positive values for patterns, negative values for dash styles. |
CJG 6-27-06
resultOK := SetDLComponentPenStyles(1, 2, 3);import vs
# Sets the left and right pen styles for the component at index in the Double
# Line Preferences.
index = 1
penStyleLeft = 0
penStyleRight = 0
ok = vs.SetDLComponentPenStyles(index, penStyleLeft, penStyleRight)
if ok:
vs.Message('SetDLComponentPenStyles succeeded')
else:
vs.Message('SetDLComponentPenStyles failed')VS Functions: GetDLComponentPenStyles
Availability: from VectorWorks12.5