Nevron .NET Vision
Nevron.Diagram.Batches Namespace / NBatchLayout Class / AlignHorizontally Method
anchor to which to align
horizontal align
whether the transaction should be rolled back if some of the nodes style cannot be changed


In This Topic
    AlignHorizontally Method
    In This Topic
    Aligns the lefts of the nodes from this batch to the specified anchor left
    Syntax
    'Declaration
     
    
    Public Overridable Function AlignHorizontally( _
       ByVal anchor As INNode, _
       ByVal align As HorzAlign, _
       ByVal rollbackOnFail As System.Boolean _
    ) As NTransactionResult
    'Usage
     
    
    Dim instance As NBatchLayout
    Dim anchor As INNode
    Dim align As HorzAlign
    Dim rollbackOnFail As System.Boolean
    Dim value As NTransactionResult
     
    value = instance.AlignHorizontally(anchor, align, rollbackOnFail)
    public virtual NTransactionResult AlignHorizontally( 
       INNode anchor,
       HorzAlign align,
       System.bool rollbackOnFail
    )

    Parameters

    anchor
    anchor to which to align
    align
    horizontal align
    rollbackOnFail
    whether the transaction should be rolled back if some of the nodes style cannot be changed

    Return Value

    batch result
    Remarks
    If a valid document is provided this method will record the changes in a single transaction.
    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