Nevron .NET Vision
Nevron.Diagram.WinForm Namespace / NSnapManager 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 System.Single, _
       ByRef snappedRotation As System.Single _
    ) As System.Boolean
    'Usage
     
    
    Dim instance As NSnapManager
    Dim rotation As System.Single
    Dim snappedRotation As System.Single
    Dim value As System.Boolean
     
    value = instance.SnapRotationAngle(rotation, snappedRotation)
    public virtual System.bool SnapRotationAngle( 
       System.float rotation,
       out System.float 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 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also