PointCount: Integer;
The PointCount property determines the number of callout points.
The example of callout with four sizing points:
Executing the example requires a form, a button named Button1 on the form, the WorkspaceBox component, and the UiWorkspace component named UiWorkspace1 that is used as a data source for WorkspaceBox.
Add links to the Andy, Workspace system assemblies.
Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
WS: IWxWorkspace;
Rect: IWxLinkedBaloon;
Begin
WS := UiWorkspace1.WxWorkspace;
WS.BeginUpdate;
Rect := WS.CreateLinkedBaloon;
Rect.PointCount := 4;
WS.EndUpdate;
End Sub Button1OnClick;
After executing the example a callout with four sizing points is created in the workspace.
See also: