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