Skip to content

Latest commit

 

History

History
56 lines (45 loc) · 1.21 KB

SetDLComponentFillColors.md

File metadata and controls

56 lines (45 loc) · 1.21 KB

SetDLComponentFillColors

Description

Sets the fore and back fill colors of the component at index in the Double Line Preferences.

FUNCTION SetDLComponentFillColors(
				index         : INTEGER;
				fillForeColor : INTEGER;
				fillBackColor : INTEGER): BOOLEAN;
def vs.SetDLComponentFillColors(index, fillForeColor, fillBackColor):
    return BOOLEAN

Parameters

Name Type Description
index INTEGER The index of the component.
fillForeColor INTEGER The fore color of the fill.
fillBackColor INTEGER The back color of the fill.

Remarks

CJG 3-23-07

Examples

resultOK := SetDLComponentFillColors(1, 2, 3);
import vs

# Sets the fore and back fill colors of the component at index in the Double
# Line Preferences.
index = 1
fillForeColor = 5
fillBackColor = 5

ok = vs.SetDLComponentFillColors(index, fillForeColor, fillBackColor)
if ok:
    vs.Message('SetDLComponentFillColors succeeded')
else:
    vs.Message('SetDLComponentFillColors failed')

See Also

VS Functions: GetDLComponentFillColors

Version

Availability: from VectorWorks13.0

Category