RoundingOffset: Double;
The RoundingOffset property determines offset for rectangle corner rounding.
Available values are taken from the range [0,15].
Executing the example requires that repository contains a workspace with the WSP identifier containing a rectangle.
Add links to the Andy and Metabase system assemblies.
Sub UserProc;
Var
mb: IMetabase;
wsp: IWxWorkspace;
RR: IWxRoundedRectangle;
Shape: IWxShape;
Begin
// Get repository
mb := MetabaseClass.Active;
wsp := mb.ItemById("WSP").Edit As IWxWorkspace;
RR := wsp.Shapes.Item(0) As IWxRoundedRectangle;
RR.RoundingOffset := 8;
End Sub UserProc;
After executing the example rectangle corners' rounding is changed.
See also: