Skip to content

Latest commit

 

History

History
49 lines (38 loc) · 1.14 KB

GetDLComponentUseFillClassAttr.md

File metadata and controls

49 lines (38 loc) · 1.14 KB

GetDLComponentUseFillClassAttr

Description

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)

Parameters

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.

Remarks

CJG 3-23-07

Examples

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)))

See Also

VS Functions: SetDLComponentUseFillClassAttr

Version

Availability: from VectorWorks13.0

Category