Nevron Open Vision Documentation
Nevron.Nov.UI Namespace / NScrollAndZoomToolBase Class / ZoomToMouseCursor Property


In This Topic
    ZoomToMouseCursor Property
    In This Topic
    Gets or sets whether to zoom to the the mouse cursor center. When set to true, the zooming will preserve the current mouse position projection in viewport coordinates. When set to false, the zooming will preserve the current viewport center. By default set to true.
    Syntax
    'Declaration
     
    
    Public Property ZoomToMouseCursor As System.Boolean
    'Usage
     
    
    Dim instance As NScrollAndZoomToolBase
    Dim value As System.Boolean
     
    instance.ZoomToMouseCursor = value
     
    value = instance.ZoomToMouseCursor
    public System.bool ZoomToMouseCursor {get; set;}
    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