IWxWorkspace.CreateRectangleBaloon

Syntax

CreateRectangleBaloon: IWxRectangleBaloon;

Description

The CreateRectangleBaloon method creates a rectangular callout.

Comments

The rectangular callout with default settings:

Example

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, Drawing, Metabase system assemblies.

Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
    WS: IWxWorkspace;
    Rect: IWxRectangleBaloon;
Begin
    WS := UiWorkspace1.WxWorkspace;
    WS.BeginUpdate;
    Rect := WS.CreateRectangleBaloon;
    WS.EndUpdate;
End Sub Button1OnClick;

After executing the example a rectangular callout is created in the workspace.

See also:

IWxWorkspace