CreateRoundedRectangleBaloon: IWxRoundedRectangleBaloon;
The CreateRoundedRectangleBaloon method creates a rounded rectangular callout.
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: IWxRoundedRectangleBaloon;
Begin
WS := UiWorkspace1.WxWorkspace;
WS.BeginUpdate;
Rect := WS.CreateRoundedRectangleBaloon;
WS.EndUpdate;
End Sub Button1OnClick;
After executing the example a rounded rectangular callout is created in a workspace:
See also: