Control.getClientRect

Overview | Methods | Fields | This Package | All Packages

Control.getClientRect

Retrieves the rectangle that represents the client area of the control.

Syntax

public final Rectangle getClientRect()

Return Value

Returns a Rectangle object that represents the client area of the control. Because client coordinates are relative to the upper-left corner of the client area of the control, the coordinates of the upper-left corner of the returned rectangle are (0,0).