Home Cooker Classes Others Rice CookerGX
Classes  >  window  >  Width
window class : Width getter

Description

Gets the width of the window.

Syntax

windowInstance.Width

Arguments

None

Return value

ClassDescription
intThe width of the window.

Sample code

//anyWindow is a instance of window type.

int width = anyWindow.Width;

Notes

It's a wrapper of the System.Windows.Forms.Form.Width.

The return value is in pixels.

Links for reference

Copyright © Rice All rights reserved.