Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Eyeshot Namespace / ViewCubeIcon Class / GetPosition Method
The viewport
The viewport bounds
The x position in camera viewport coordinates>
The y position in camera viewport coordinates

In This Topic
    GetPosition Method (ViewCubeIcon)
    In This Topic
    Gets the position of the ViewCube in camera viewport coordinates (0 on bottom).
    Syntax
    'Declaration
     
    Protected Overridable Sub GetPosition( _
       ByVal viewport As Viewport, _
       ByVal viewFrame() As Integer, _
       ByRef x As Integer, _
       ByRef y As Integer _
    ) 
    protected virtual void GetPosition( 
       Viewport viewport,
       int[] viewFrame,
       out int x,
       out int y
    )

    Parameters

    viewport
    The viewport
    viewFrame
    The viewport bounds
    x
    The x position in camera viewport coordinates>
    y
    The y position in camera viewport coordinates
    See Also