Points(Index: Integer): IGxPointF;
Index. Index of callout point.
The Points property determines callout point coordinates.
The example of a point on the callout with default coordinates (left) and with changed coordinates (right):
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.4, 1.2);
Rect.Points(3) := Point;
WS.EndUpdate;
End Sub Button1OnClick;
After executing the example the coordinates of the fourth callout are changed.
See also: