ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Layouts Namespace / GraphicElement Class / SetCornerRounding Method

In This Topic
    SetCornerRounding Method
    In This Topic
    Set corner rounding. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    public void SetCornerRounding( 
       double cornerRounding
    )
    Public Sub SetCornerRounding( _
       ByVal cornerRounding As Double _
    ) 

    Parameters

    cornerRounding
    Exceptions
    ExceptionDescription
    This method or property must be called within the lambda passed to QueuedTask.Run.
    Remarks
    Corner rounding is specified as a percentage from 0.0 to 50.0. If CanSupportCornerRounding returns false then no corner rounding will be applied. If the cornerRounding percentage specified is < 0.0 it will be rounded up to 0.0. If the cornerRounding percentage specified is >50.0 then it will be rounded down to 50.0.
    A difference of less than 0.01 with the existing rounding value (if any) is ignored.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also