IWxRoundedRectangleBaloon.RoundingFactor

Syntax

RoundingFactor: Double;

Description

The RoundingFactor property determines rounding level for a rectangular callout.

Comments

Callout rounding value is directly proportional to the value of this property. Callout rounding value is specified within the range [0;1].

The example of a regular callout (left) and a callout with modified rounding level (right):

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

Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
    WS: IWxWorkspace;
    Rect: IWxRoundedRectangleBaloon;
Begin
    WS := UiWorkspace1.WxWorkspace;
    WS.BeginUpdate;
    Rect := WS.CreateRoundedRectangleBaloon;
    Rect.RoundingFactor := 0.3;
    WS.EndUpdate;
End Sub Button1OnClick;

After executing the example a rounded callout with the defined rounding level is created in the workspace.

See also:

IWxRoundedRectangleBaloon