Nevron Open Vision Documentation
Nevron.Nov.Diagram.Batches Namespace / NBatchLayout Class / AlignHorizontally Method
anchor to which to align
horizontal align


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 Function AlignHorizontally( _
       ByVal anchor As NShape, _
       ByVal align As ENHorizontalAlignment _
    ) As NTransactionResult
    'Usage
     
    
    Dim instance As NBatchLayout
    Dim anchor As NShape
    Dim align As ENHorizontalAlignment
    Dim value As NTransactionResult
     
    value = instance.AlignHorizontally(anchor, align)

    Parameters

    anchor
    anchor to which to align
    align
    horizontal align

    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 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also