IWxConnector.FirstPointAutoCpSelect

Syntax

FirstPointAutoCpSelect: Boolean;

Description

The FirstPointAutoCpSelect property determines whether automatic point selection is used when connecting the beginning of a connecting object with another shape.

If this property is set to True, the link is bound to one of the perimeter connection points depending on the object position, in fact, connection is provided through the center connection point.

If the property is set to False, the link is always bound to the same object's connection point regardless of the object position.

The default property value is False.

Example

Executing the example requires an existing ws object of the IWxWorkspace type.

Sub UserProc;

Var

ws: IWxWorkspace;

Link : IWxLink;

Begin

Link := ws.Shapes.Item(2) As IWxLink;

Link.FirstPointAutoCpSelect := True;

Link.LastPointAutoCpSelect := True;

End Sub UserProc;

After executing this example the link is provided using automatic selection of points.

See also:

IWxConnector