Gets the use fill class attributes flag of the component at index in the Double Line Preferences.
FUNCTION GetDLComponentUseFillClassAttr(
index : INTEGER;
VAR useClassAttr : BOOLEAN): BOOLEAN;def vs.GetDLComponentUseFillClassAttr(index):
return (BOOLEAN, useClassAttr)| Name | Type | Description |
|---|---|---|
| index | INTEGER | The index of the component. |
| useClassAttr | BOOLEAN | Returns whether or not the component is using class attributes for its fill. |
CJG 3-23-07
resultOK := GetDLComponentUseFillClassAttr(1, TRUE);import vs
# Gets the use fill class attributes flag of the component at index in the
# Double Line Preferences.
index = 1
ok, useClassAttr = vs.GetDLComponentUseFillClassAttr(index)
vs.Message('GetDLComponentUseFillClassAttr returned: ' + str((ok, useClassAttr)))VS Functions: SetDLComponentUseFillClassAttr
Availability: from VectorWorks13.0