Skip to content

Latest commit

 

History

History
48 lines (37 loc) · 997 Bytes

GetDLComponentClass.md

File metadata and controls

48 lines (37 loc) · 997 Bytes

GetDLComponentClass

Description

Gets the class of the component at index in the Double Line Preferences.

FUNCTION GetDLComponentClass(
				index              : INTEGER;
				VAR componentClass : LONGINT): BOOLEAN;
def vs.GetDLComponentClass(index):
    return (BOOLEAN, componentClass)

Parameters

Name Type Description
index INTEGER The index of the component.
componentClass LONGINT Returns the class of the component.

Remarks

CJG 3-23-07

Examples

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

# Gets the class of the component at index in the Double Line Preferences.
index = 1

ok, componentClass = vs.GetDLComponentClass(index)
vs.Message('GetDLComponentClass returned: ' + str((ok, componentClass)))

See Also

VS Functions: SetDLComponentClass

Version

Availability: from VectorWorks13.0

Category