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

Description

Gets the width of the client area.

Syntax

windowInstance.ClientWidth

Arguments

None

Return value

ClassDescription
intThe width of client area.

Sample code

//anyWindow is a instance of window type.

int width = anyWindow.ClientWidth;

Notes

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

The return value is in pixels.

Links for reference

Copyright © Rice All rights reserved.