Previous Document Next Document

Object Model Reference : Classes : C : CorelScript : Methods : CorelScript.CreateConnector


CorelScript.CreateConnector

Function CreateConnector(x1 As Long, y1 As Long, x2 As Long, y2 As Long, Placement As Boolean) As Long

Description

Member of CorelScript

The CreateConnector method connects objects with a line.

 
When you move an object that has a connector line attached, the connetor line also moves.

Parameter
Description
x1
Specifies the x-coordinate of the first connector-line point
y1
Specifies the y-coordinate of the first connector-line point
x2
Specifies the x-coordinate of the second connector-line point
y2
Specifies the y-coordinate of the second connector-line point
Placement
Specifies the placement of the connector line. True keeps the connector line fixed to the nodes to which it was originally attached, while False draws the shortest line between the two objects.

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.