IWxLinkedBaloon.Points

Syntax

Points(Index: Integer): IGxPointF;

Parameters

Index. Index of callout point.

Description

The Points property determines callout point coordinates.

Comments

The example of a point on the callout with default coordinates (left) and with changed coordinates (right):

Example

Executing the example requires a form with the Button1 button, the WorkspaceBox component and the UiWorkspace component named UiWorkspace1, which is a data source for WorkspaceBox.

Add links to the Andy, Drawing, Workspace system assemblies.

Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
    WS: IWxWorkspace;
    Rect: IWxLinkedBaloon;
    Point: IGxPointF;
Begin
    WS := UiWorkspace1.WxWorkspace;
    WS.BeginUpdate;
    Rect := WS.CreateLinkedBaloon;
    Rect.PointCount := 4;
    Point := New GxPointF.Create(-0.41.2);
    Rect.Points(3) := Point;
    WS.EndUpdate;
End Sub Button1OnClick;

After executing the example the coordinates of the fourth callout are changed.

See also:

IWxLinkedBaloon