IWxRoundedRectangle.RoundingOffset

Syntax

RoundingOffset: Double;

RoundingOffset: double;

Description

The RoundingOffset property determines offset for rectangle corner rounding. Acceptable values should be within the range [0,15].

Example

Executing the example requires that repository contains a workspace with the WSP identifier containing a rectangle.

Add links to the Andy, 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(
0As IWxRoundedRectangle;
    RR.RoundingOffset := 
8;
End Sub UserProc;
Imports Prognoz.Platform.Interop.Andy;
 
Public Shared Sub Main(Params: StartParams);
Var
    mb: IMetabase;
    wsp: IWxWorkspace;
    RR: IWxRoundedRectangle;
    Shape: IWxShape;
Begin
    
// Get repository
    mb := Params.Metabase;
    wsp := mb.ItemById[
"WSP"].Edit() As IWxWorkspace;
    
RR := wsp.Shapes.Item[0] As IWxRoundedRectangle;
    RR.RoundingOffset := 
8;
    (wsp 
As IMetabaseObject).Save();
End Sub;

After executing the example rectangle corners' rounding is changed.

See also:

IWxRoundedRectangle