Skip to content

Latest commit

 

History

History
49 lines (38 loc) · 904 Bytes

DeleteDLComponent.md

File metadata and controls

49 lines (38 loc) · 904 Bytes

DeleteDLComponent

Description

Deletes the nth component of the Double Line Preferences, where n is equal to index.

FUNCTION DeleteDLComponent(index : INTEGER): BOOLEAN;
def vs.DeleteDLComponent(index):
    return BOOLEAN

Parameters

Name Type Description
index INTEGER The index of the component to delete.

Remarks

CJG 6-27-06

Examples

resultOK := DeleteDLComponent(1);
import vs

# Deletes the nth component of the Double Line Preferences, where n is equal
# to index.
index = 1

ok = vs.DeleteDLComponent(index)
if ok:
    vs.Message('DeleteDLComponent succeeded')
else:
    vs.Message('DeleteDLComponent failed')

See Also

VS Functions: InsertNewDLComponent

Version

Availability: from VectorWorks12.5

Category