Nevron .NET Vision
Nevron.Diagram.Batches Namespace / NBatchLayout Class / CanAlignToGrid Method
grid origin
grid cell size
whether the transaction should be rolled back if some of the nodes permissions do not allow the operation


In This Topic
    CanAlignToGrid Method
    In This Topic
    Determines whether the aling to grid operation can be performed
    Syntax
    'Declaration
     
    
    Public Overridable Function CanAlignToGrid( _
       ByVal gridOrigin As NPointF, _
       ByVal gridCellSize As NSizeF, _
       ByVal rollbackOnFail As System.Boolean _
    ) As System.Boolean
    'Usage
     
    
    Dim instance As NBatchLayout
    Dim gridOrigin As NPointF
    Dim gridCellSize As NSizeF
    Dim rollbackOnFail As System.Boolean
    Dim value As System.Boolean
     
    value = instance.CanAlignToGrid(gridOrigin, gridCellSize, rollbackOnFail)
    public virtual System.bool CanAlignToGrid( 
       NPointF gridOrigin,
       NSizeF gridCellSize,
       System.bool rollbackOnFail
    )

    Parameters

    gridOrigin
    grid origin
    gridCellSize
    grid cell size
    rollbackOnFail
    whether the transaction should be rolled back if some of the nodes permissions do not allow the operation

    Return Value

    true if the to align grid operation 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