Viewport.GetBounds Method

Gets the bounds rectangle in screen coordinates.
Public Overridable Function GetBounds() As Rectangle
This language is not supported or no code example is available.
public virtual Rectangle GetBounds()
This language is not supported or no code example is available.

Return Value

Rectangle

The bounds rectangle in screen coordinates.

.NET Framework

Supported in: 4.8

In this article

Definition