Nevron .NET Vision
Nevron.Diagram.Batches Namespace / NBatchTranslate Class / CanTranslate Method / CanTranslate(CompassDirection,Single,Boolean,Boolean) Method
translate direction
translate step
indicates whether the move permissions of the nodes must be discarded
whether the transaction should be rolled back if some of the nodes cannot be translated


In This Topic
    CanTranslate(CompassDirection,Single,Boolean,Boolean) Method
    In This Topic
    Determines whether the translate can be performed with the specified parameterd
    Syntax
    'Declaration
     
    
    Public Overloads Overridable Function CanTranslate( _
       ByVal direction As CompassDirection, _
       ByVal step As System.Single, _
       ByVal discardMovePermissions As System.Boolean, _
       ByVal rollbackOnFail As System.Boolean _
    ) As System.Boolean
    'Usage
     
    
    Dim instance As NBatchTranslate
    Dim direction As CompassDirection
    Dim step As System.Single
    Dim discardMovePermissions As System.Boolean
    Dim rollbackOnFail As System.Boolean
    Dim value As System.Boolean
     
    value = instance.CanTranslate(direction, step, discardMovePermissions, rollbackOnFail)
    public virtual System.bool CanTranslate( 
       CompassDirection direction,
       System.float step,
       System.bool discardMovePermissions,
       System.bool rollbackOnFail
    )

    Parameters

    direction
    translate direction
    step
    translate step
    discardMovePermissions
    indicates whether the move permissions of the nodes must be discarded
    rollbackOnFail
    whether the transaction should be rolled back if some of the nodes cannot be translated

    Return Value

    true if the operation succeeded, 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