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


In This Topic
    AlignVertically Method
    In This Topic
    Aligns the tops of the nodes from this batch to the specified anchor top
    Syntax
    'Declaration
     
    
    Public Function AlignVertically( _
       ByVal anchor As NShape, _
       ByVal align As ENVerticalAlignment _
    ) As NTransactionResult
    'Usage
     
    
    Dim instance As NBatchLayout
    Dim anchor As NShape
    Dim align As ENVerticalAlignment
    Dim value As NTransactionResult
     
    value = instance.AlignVertically(anchor, align)

    Parameters

    anchor
    anchor to which to align
    align
    vertical 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