Nevron Open Vision Documentation
Nevron.Nov.UI Namespace / NMouse Class / TryGetLocalPosition Method


In This Topic
    TryGetLocalPosition Method
    In This Topic
    Tries to get the position of the mouse in the specified element coordinate system.
    Syntax
    'Declaration
     
    
    Public Shared Function TryGetLocalPosition( _
       ByVal element As NElement, _
       ByRef pos As NPoint _
    ) As System.Boolean
    'Usage
     
    
    Dim element As NElement
    Dim pos As NPoint
    Dim value As System.Boolean
     
    value = NMouse.TryGetLocalPosition(element, pos)
    public static System.bool TryGetLocalPosition( 
       NElement element,
       out NPoint pos
    )

    Parameters

    element
    pos
    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