IWxLinkedBaloon.Points

Syntax

Points(Index: Integer): IGxPointF;

Parameters

Index. Index of callout point.

Description

The Points property determines callout point coordinates.

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.

 

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.4, 1.2);

Rect.Points(3) := Point;

WS.EndUpdate;

End Sub Button1OnClick;

Executing the example will change default coordinates (left) of the fourth callout point for the specified ones (right):

See also:

IWxLinkedBaloon