Skip to content

Latest commit

 

History

History
48 lines (37 loc) · 939 Bytes

GetDLComponentWidth.md

File metadata and controls

48 lines (37 loc) · 939 Bytes

GetDLComponentWidth

Description

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

FUNCTION GetDLComponentWidth(
				index     : INTEGER;
				VAR width : REAL): BOOLEAN;
def vs.GetDLComponentWidth(index):
    return (BOOLEAN, width)

Parameters

Name Type Description
index INTEGER The index of the component.
width REAL Returns the width of the component.

Remarks

CJG 6-27-06

Examples

resultOK := GetDLComponentWidth(1, 1.0);
import vs

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

ok, width = vs.GetDLComponentWidth(index)
vs.Message('GetDLComponentWidth returned: ' + str((ok, width)))

See Also

VS Functions: SetDLComponentWidth

Version

Availability: from VectorWorks12.5

Category