CRect:Width
The Width method returns the x dimension, or "width" of the CRect object. The Size method returns both the width and height.
nWidth = CRect:Width() nWidth is a number and may be positive or negative. |
The following script prints the width of the CRect:
|
-- create a CRect object |
|
|
|
-- result: Width = 150.00 |
Mira Pro x64 Script User's Guide, Copyright Ⓒ 2024 Mirametrics,
Inc. All Rights Reserved.