Eyeshot 10 WinForms API Reference
GetBounds Method (IUserInterfaceElement)

WinForms Assembly > devDept.Eyeshot Namespace > IUserInterfaceElement Interface : GetBounds Method
The viewport
Gets the bounds rectangle in screen coordinates.
Syntax
'Declaration
 
Function GetBounds( _
   ByVal viewport As Viewport _
) As Rectangle
Rectangle GetBounds( 
   Viewport viewport
)

Parameters

viewport
The viewport

Return Value

The bounds rectangle in screen coordinates (0 on top).
See Also

Reference

IUserInterfaceElement Interface
IUserInterfaceElement Members