Sets the fore and back fill colors of the component at index in the Double Line Preferences.
FUNCTION SetDLComponentFillColors(
index : INTEGER;
fillForeColor : INTEGER;
fillBackColor : INTEGER): BOOLEAN;def vs.SetDLComponentFillColors(index, fillForeColor, fillBackColor):
return BOOLEAN| Name | Type | Description |
|---|---|---|
| index | INTEGER | The index of the component. |
| fillForeColor | INTEGER | The fore color of the fill. |
| fillBackColor | INTEGER | The back color of the fill. |
CJG 3-23-07
resultOK := SetDLComponentFillColors(1, 2, 3);import vs
# Sets the fore and back fill colors of the component at index in the Double
# Line Preferences.
index = 1
fillForeColor = 5
fillBackColor = 5
ok = vs.SetDLComponentFillColors(index, fillForeColor, fillBackColor)
if ok:
vs.Message('SetDLComponentFillColors succeeded')
else:
vs.Message('SetDLComponentFillColors failed')VS Functions: GetDLComponentFillColors
Availability: from VectorWorks13.0