Nevron .NET Vision
Nevron.Diagram.Batches Namespace / NBatchTranslate Class / Translate Method / Translate(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
    Translate(CompassDirection,Single,Boolean,Boolean) Method
    In This Topic
    Translates the entity with the specified step in the specified direction
    Syntax
    'Declaration
     
    
    Public Overloads Overridable Function Translate( _
       ByVal direction As CompassDirection, _
       ByVal step As System.Single, _
       ByVal discardMovePermissions As System.Boolean, _
       ByVal rollbackOnFail As System.Boolean _
    ) As NTransactionResult
    '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 NTransactionResult
     
    value = instance.Translate(direction, step, discardMovePermissions, rollbackOnFail)
    public virtual NTransactionResult Translate( 
       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

    batch result
    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