NevronOpenVision
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
    protected virtual NPoint 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

    Return Value

    Returns the position to which the items were moved.
    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