RoundingFactor: Double;
The RoundingFactor property determines rounding level for a rectangular callout. Callout rounding value is directly proportional to the value of this property. Callout rounding value is specified within the range [0;1].
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;
Rect.RoundingFactor := 0.3;
WS.EndUpdate;
End Sub Button1OnClick;
After executing the example a rounded callout with the defined rounding level is created in a workspace. See below an example of a regular callout (left) and a callout with modified rounding level (right):
See also: