Skip to content

Latest commit

 

History

History
51 lines (40 loc) · 1.19 KB

GetDLComponentFillColors.md

File metadata and controls

51 lines (40 loc) · 1.19 KB

GetDLComponentFillColors

Description

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)

Parameters

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.

Remarks

CJG 3-23-07

Examples

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

See Also

VS Functions: SetDLComponentFillColors

Version

Availability: from VectorWorks13.0

Category