CRect:Height
The Height method returns the y dimension, or "height" of the CRect object. The Size method returns both the width and height.
nHeight = CRect:Height() where nHeight is a number and may be positive or negative. |
The following script prints the height of the CRect:
|
-- create a CRect object |
|
-- result: Height = -800.00 |