Nevron Open Vision Documentation
Nevron.Nov.Diagram Namespace / NSnapAndGlue Class / SnapRotationAngle Method
rotation to snap (in degrees)
snapped rotation (in degrees)


In This Topic
    SnapRotationAngle Method
    In This Topic
    Snaps the specified rotation angle
    Syntax
    'Declaration
     
    
    Public Overridable Function SnapRotationAngle( _
       ByVal rotation As NAngle, _
       ByRef snappedRotation As NAngle _
    ) As System.Boolean
    'Usage
     
    
    Dim instance As NSnapAndGlue
    Dim rotation As NAngle
    Dim snappedRotation As NAngle
    Dim value As System.Boolean
     
    value = instance.SnapRotationAngle(rotation, snappedRotation)
    public virtual System.bool SnapRotationAngle( 
       NAngle rotation,
       out NAngle snappedRotation
    )

    Parameters

    rotation
    rotation to snap (in degrees)
    snappedRotation
    snapped rotation (in degrees)

    Return Value

    true if snapping was successfull, otherwise false
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also