[This is preliminary documentation and is subject to change.]
Gets or sets the size of the window
Namespace: Tools.WindowsT.NativeTAssembly: 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 Size Size { get; set; } |
| Visual Basic |
|---|
<LCategoryAttribute(GetType(ControlsWin), "SizeAndPosition_c", _ "Size and position", LCategoryAttribute..::..enmLookUpOrder.ResourceFirst)> _ Public Property Size As Size Get Set |
| Visual C++ |
|---|
[LCategoryAttribute(typeof(ControlsWin), L"SizeAndPosition_c", L"Size and position", LCategoryAttribute..::..enmLookUpOrder::ResourceFirst)] public: property Size Size { Size get (); void set (Size value); } |
| F# |
|---|
[<LCategoryAttribute(typeof(ControlsWin), "SizeAndPosition_c", "Size and position", LCategoryAttribute..::..enmLookUpOrder.ResourceFirst)>] member Size : Size with get, set |
| JScript |
|---|
function get Size () : Size function set Size (value : Size) |
Field Value
New size of the window. Position will be unchangedReturn Value
Current size of the window
Exceptions
| Exception | Condition |
|---|---|
| Tools.API..::..Win32APIException | Setting or obtaining of window's rectangle failed, ie. Handle is invalid |