Nevron Open Vision Documentation
Nevron.Nov.Schedule Namespace / NAppointmentResizeTool Class / ResizeSelectedItem Method
Position to resize preview to (in schedule coordinates).
Position to start preview from (in schedule coordinates).


In This Topic
    ResizeSelectedItem Method
    In This Topic
    Resizes the preview of the selected item 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 ResizeSelectedItem( _
       ByVal dragPos As NPoint, _
       ByVal startPos As NPoint, _
       ByVal mustCreatePreview As System.Boolean _
    ) 
    'Usage
     
    
    Dim instance As NAppointmentResizeTool
    Dim dragPos As NPoint
    Dim startPos As NPoint
    Dim mustCreatePreview As System.Boolean
     
    instance.ResizeSelectedItem(dragPos, startPos, mustCreatePreview)
    protected virtual void ResizeSelectedItem( 
       NPoint dragPos,
       NPoint startPos,
       System.bool mustCreatePreview
    )

    Parameters

    dragPos
    Position to resize preview to (in schedule coordinates).
    startPos
    Position to start preview from (in schedule 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