Home Cooker Classes Others Rice CookerGX
Classes  >  window  >  Width(int)
window class : Width(int) setter

Description

Sets the width of the window.

Syntax

windowInstance.Width = width

Arguments

ClassNameDescription
intwidthThe width of the window.

Return value

None

Sample code

//anyWindow is a instance of window type.

anyWindow.Width = 1000;

Notes

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

The set value is in pixels.

Links for reference

Copyright © Rice All rights reserved.