Nevron .NET Vision
Nevron.Diagram.Batches Namespace / NBatchTranslate Class / CanTranslate Method / CanTranslate(Single,Single,Boolean,Boolean) Method
dx
dy
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(Single,Single,Boolean,Boolean) Method
    In This Topic
    Determines whether the translate can be performed with the specified offsets
    Syntax
    'Declaration
     
    
    Public Overloads Overridable Function CanTranslate( _
       ByVal dx As System.Single, _
       ByVal dy As System.Single, _
       ByVal discardMovePermissions As System.Boolean, _
       ByVal rollbackOnFail As System.Boolean _
    ) As System.Boolean
    'Usage
     
    
    Dim instance As NBatchTranslate
    Dim dx As System.Single
    Dim dy As System.Single
    Dim discardMovePermissions As System.Boolean
    Dim rollbackOnFail As System.Boolean
    Dim value As System.Boolean
     
    value = instance.CanTranslate(dx, dy, discardMovePermissions, rollbackOnFail)
    public virtual System.bool CanTranslate( 
       System.float dx,
       System.float dy,
       System.bool discardMovePermissions,
       System.bool rollbackOnFail
    )

    Parameters

    dx
    dx
    dy
    dy
    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 translation can be performed, 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