Description

Gets or sets the width and height of the client area of the control.

Syntax

object.ClientSize [ = size ]

object.ClientSize = long, long

Property Value

size - a Size object that represents the height and width of the client area of the control in pixels.

long, long - an array of two numbers specifying the width and height of the client area of the control (in pixels).

Example

$Form.ClientSize = $System.Size(640, 480)

$Form.ClientSize = 640, 480

Remarks

The client area of a control is the bounds of the control, minus the nonclient elements such as scroll bars, borders, title bars, and menus.


The CHM file was converted to HTML by chm2web software.