IUserInterfaceElement.GetBounds Method

Gets the bounds rectangle in screen coordinates.
Function GetBounds( _ 
ByVal viewport As Viewport
) As Rectangle
This language is not supported or no code example is available.
Rectangle GetBounds( 
Viewport viewport 
)
This language is not supported or no code example is available.

Parameters

viewport
Viewport

The viewport

Return Value

Rectangle

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

.NET Framework

Supported in: 4.8

In this article

Definition