Nevron Open Vision Documentation
Nevron.Nov.Diagram.DrawingTools Namespace / NMoveTool Class / MoveSelectedItems Method
position to move preview to (in page coordinates)
position to start preview from (in page coordinates)


In This Topic
    MoveSelectedItems Method (NMoveTool)
    In This Topic
    Moves the preview of the selected items to the position specified by dragPos. If preview is not created, it is created if the mustCreatePreview is true, or the mouse has moved a certain amount from the tool activation position. Finally if the preview is created, it is started with the location specified by startPos parameter.
    Syntax
    'Declaration
     
    
    Protected Overridable Sub MoveSelectedItems( _
       ByVal dragPos As NPoint, _
       ByVal startPos As NPoint, _
       ByVal mustCreatePreview As System.Boolean _
    ) 
    'Usage
     
    
    Dim instance As NMoveTool
    Dim dragPos As NPoint
    Dim startPos As NPoint
    Dim mustCreatePreview As System.Boolean
     
    instance.MoveSelectedItems(dragPos, startPos, mustCreatePreview)
    protected virtual void MoveSelectedItems( 
       NPoint dragPos,
       NPoint startPos,
       System.bool mustCreatePreview
    )

    Parameters

    dragPos
    position to move preview to (in page coordinates)
    startPos
    position to start preview from (in page coordinates)
    mustCreatePreview
    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