Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Eyeshot Namespace / ViewportLayout Class / GetAllLabelsUnderMouseCursor Method
Mouse position in screen coordinates
When true, checks the devDept.Eyeshot.Entities.Entity.Selectable property, otherwise no.

In This Topic
    GetAllLabelsUnderMouseCursor Method
    In This Topic
    Returns all the visible labels under the mouse cursor in the active viewport.
    Syntax
    'Declaration
     
    Public Function GetAllLabelsUnderMouseCursor( _
       ByVal mousePos As Point, _
       Optional ByVal selectableOnly As Boolean _
    ) As Integer()
    public int[] GetAllLabelsUnderMouseCursor( 
       Point mousePos,
       bool selectableOnly
    )

    Parameters

    mousePos
    Mouse position in screen coordinates
    selectableOnly
    When true, checks the devDept.Eyeshot.Entities.Entity.Selectable property, otherwise no.

    Return Value

    The list of label indices.
    Remarks
    The sensitivity is affected by the PickBoxSize parameter.Only the labels that are visible on screen and in the selectionBox are considered, the ones covered by other labels are not considered.
    See Also