CRect:Xmax
The Xmax method returns the value of the maximum x value for the CRect object, measured in pixel coordinates.
nXmax = CRect:Xmax() |
The following script fragment prints the maximum x dimension of the CRect:
|
-- create a CRect object |
|
-- print the dimension |
CRect, Get, Image Coordinate System, Subpixel Coordinate Definition