Form.getDisplayRect

Overview | Methods | This Package | All Packages

Form.getDisplayRect

Retrieves the current display rectangle.

Syntax

public Rectangle getDisplayRect()

Return Value

Returns a Rectangle object that specifies the display rectangle.

Remarks

The display rectangle designates the virtual display area used to arrange components on the form. The position and dimensions of the form's display rectangle change when the form is autoscrolled.