IWxLinkedBaloon.ShowLine

Syntax

ShowLine: Boolean;

Description

The ShowLine property determines whether a callout line is displayed. True - enable callout line display, False - disable callout line display.

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;

RectT, RectF: IWxLinkedBaloon;

Point: IGxPointF;

Begin

WS := UiWorkspace1.WxWorkspace;

WS.BeginUpdate;

// creating right callout with points

RectF := WS.CreateLinkedBaloon;

RectF.PointCount := 4;

RectF.ShowLine := False;

// creating left callout with points

RectT := WS.CreateLinkedBaloon;

RectT.PointCount := 4;

Point := New GxPointF.Create(-45, 0);

RectT.PinPosition := Point;

RectT.ShowLine := True;

WS.EndUpdate;

End Sub Button1OnClick;

After executing the example two callouts with points are created in the workspace. The left callout will have the line displayed, whereas the right one will not:

See also:

IWxLinkedBaloon