Retrieves the current display rectangle.
public Rectangle getDisplayRect()
Returns a Rectangle object that specifies the display rectangle.
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.