Skip to content

Latest commit

 

History

History
52 lines (41 loc) · 1 KB

SetDLComponentFill.md

File metadata and controls

52 lines (41 loc) · 1 KB

SetDLComponentFill

Description

Sets the fill of the component at index in the Double Line Preferences.

FUNCTION SetDLComponentFill(
				index : INTEGER;
				fill  : LONGINT): BOOLEAN;
def vs.SetDLComponentFill(index, fill):
    return BOOLEAN

Parameters

Name Type Description
index INTEGER The index of the component.
fill LONGINT The fill of the component. Positive values for patterns, negative object indexes for hatches.

Remarks

CJG 6-27-06

Examples

resultOK := SetDLComponentFill(1, 2);
import vs

# Sets the fill of the component at index in the Double Line Preferences.
index = 1
fill = 1

ok = vs.SetDLComponentFill(index, fill)
if ok:
    vs.Message('SetDLComponentFill succeeded')
else:
    vs.Message('SetDLComponentFill failed')

See Also

VS Functions: GetDLComponentFill

Version

Availability: from VectorWorks12.5

Category