ShowLine: Boolean;
The ShowLine property determines whether a callout line is displayed.
Available values:
True. Callout line is displayed.
False. Callout line is not displayed.
The example of callout with line (left) and without line (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, Forms, and Workspace system assemblies.
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 are created in the workspace. The first callout is created with callout line, the second callout is created without callout line.
See also: