VintaSoft Imaging .NET SDK 14.1: Documentation for .NET developer
Vintasoft.Imaging.UI.VisualTools.UserInteraction Namespace / RotationAssistantArea Class / Discrete(Single) Method
Syntax Requirements SeeAlso
In This Topic
    Discrete(Single) Method (RotationAssistantArea)
    In This Topic
    Rounds current angle to the nearest DiscreteAngle.
    Syntax
    'Declaration
    
    Public Function Discrete( _
    ByVal angle
    Angle to rounding.
    As Single _
    ) As Single
    public float Discrete(
    float angle
    )
    public: float Discrete(
    float angle
    )
    public:
    float Discrete(
    float angle
    )

    Parameters

    angle
    Angle to rounding.

    Return Value

    The value with rounded angle to the nearest DiscreteAngle.
    Requirements

    Target Platforms: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also