Microsoft SDK for Java

Rectangle.toRECT

Retrieves a Win32 RECT structure that contains the settings of a Rectangle object.

Syntax

public final RECT toRECT()

public final RECT toRect( Rectangle r )

Parameters

r

A Rectangle object that specifies the rectangle to convert to a RECT structure. If no parameter is specified, the current settings on this Rectangle object are converted.

Return Value

Returns a Win32 RECT structure that contains the rectangle's current values.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.