Sets the fill of the component at index in the Double Line Preferences.
FUNCTION SetDLComponentFill(
index : INTEGER;
fill : LONGINT): BOOLEAN;def vs.SetDLComponentFill(index, fill):
return BOOLEAN| Name | Type | Description |
|---|---|---|
| index | INTEGER | The index of the component. |
| fill | LONGINT | The fill of the component. Positive values for patterns, negative object indexes for hatches. |
CJG 6-27-06
resultOK := SetDLComponentFill(1, 2);import vs
# Sets the fill of the component at index in the Double Line Preferences.
index = 1
fill = 1
ok = vs.SetDLComponentFill(index, fill)
if ok:
vs.Message('SetDLComponentFill succeeded')
else:
vs.Message('SetDLComponentFill failed')VS Functions: GetDLComponentFill
Availability: from VectorWorks12.5