Skip to content

Latest commit

 

History

History
40 lines (32 loc) · 1.12 KB

File metadata and controls

40 lines (32 loc) · 1.12 KB

GetDLComponentPenColors

Description

Gets the fore and back colors of the left and right side pens of the component at index in the Double Line Preferences.

FUNCTION GetDLComponentPenColors(
				index                 : INTEGER;
				VAR leftPenForeColor  : INTEGER;
				VAR leftPenBackColor  : INTEGER;
				VAR rightPenForeColor : INTEGER;
				VAR rightPenBackColor : INTEGER): BOOLEAN;
def vs.GetDLComponentPenColors(index):
    return (BOOLEAN, leftPenForeColor, leftPenBackColor, rightPenForeColor, rightPenBackColor)

Parameters

Name Type Description
index INTEGER The index of the component.
leftPenForeColor INTEGER Returns the fore color of the left pen.
leftPenBackColor INTEGER Returns the back color of the left pen.
rightPenForeColor INTEGER Returns the fore color of the right pen.
rightPenBackColor INTEGER Resturns the back color of the right pen.

Remarks

CJG 3-23-07

See Also

VS Functions: SetDLComponentPenColors

Version

Availability: from VectorWorks13.0

Category