[This is preliminary documentation and is subject to change.]

Gets or sets rectangle covered by the window

Namespace: Tools.WindowsT.NativeT
Assembly: Tools.Win (in Tools.Win.dll) Version: 1.5.3.38916 (1.5.3.38916)

Syntax

C#
[LCategoryAttribute(typeof(ControlsWin), "SizeAndPosition_c", "Size and position", 
	LCategoryAttribute..::..enmLookUpOrder.ResourceFirst)]
public Rectangle Area { get; set; }
Visual Basic
<LCategoryAttribute(GetType(ControlsWin), "SizeAndPosition_c",  _
	"Size and position", LCategoryAttribute..::..enmLookUpOrder.ResourceFirst)> _
Public Property Area As Rectangle
	Get
	Set
Visual C++
[LCategoryAttribute(typeof(ControlsWin), L"SizeAndPosition_c", L"Size and position", 
	LCategoryAttribute..::..enmLookUpOrder::ResourceFirst)]
public:
property Rectangle Area {
	Rectangle get ();
	void set (Rectangle value);
}
F#
[<LCategoryAttribute(typeof(ControlsWin), "SizeAndPosition_c", "Size and position", 
    LCategoryAttribute..::..enmLookUpOrder.ResourceFirst)>]
member Area : Rectangle with get, set
JScript
function get Area () : Rectangle
function set Area (value : Rectangle)

Field Value

New rectangle covered by the window

Return Value

Current rectangle covered by the window

Remarks

For top-level windows screen coordinates are used. For windows with Parent coordinates of parent are used.

Exceptions

ExceptionCondition
Tools.API..::..Win32APIExceptionSetting or obtaining window's rectangle failed, ie. Handle is invalid

See Also