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

Description

Sets the width of the client area.

Syntax

windowInstance.ClientWidth = width

Arguments

ClassNameDescription
intwidthThe width of client area.

Return value

None

Sample code

//anyWindow is a instance of window type.

anyWindow.ClientWidth = 1000;

Notes

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

The set value is in pixels.

Links for reference

Copyright © Rice All rights reserved.