Gets the fill of the component at index in the Double Line Preferences.
FUNCTION GetDLComponentFill(
index : INTEGER;
VAR fill : LONGINT): BOOLEAN;def vs.GetDLComponentFill(index):
return (BOOLEAN, fill)| Name | Type | Description |
|---|---|---|
| index | INTEGER | The index of the component. |
| fill | LONGINT | Returns the fill of the component. Positive values for patterns, negative ref numbers for hatches. |
CJG 6-27-06
resultOK := GetDLComponentFill(1, 2);import vs
# Gets the fill of the component at index in the Double Line Preferences.
index = 1
ok, fill = vs.GetDLComponentFill(index)
vs.Message('GetDLComponentFill returned: ' + str((ok, fill)))VS Functions: SetDLComponentFill
Availability: from VectorWorks12.5