Share via


Overview | Methods | Fields | This Package | All Packages

OverviewMethodsFieldsThis PackageAll Packages

Control.rectToScreen

Converts the coordinates of a rectangle from client coordinates to screen coordinates.

Syntax

public Rectangle rectToScreen( Rectangle r )

Parameters

r

The Rectangle object containing client coordinates that you want to convert to screen coordinates.

Return Value

Returns a Rectangle object containing the screen coordinates that correspond to the client coordinates contained in r.