CRect:Xmax
The Xmax method returns the value of the maximum x value for the CRect object, measured in pixel coordinates.
nXmax = CRect:Xmax() |
nXmax is a number and may be positive or negative.
The following script prints the maximum x dimension of the CRect:
|
-- create a CRect object |
|
-- print the dimension |
CRect class, Get, Image Coordinate System, Subpixel Coordinate Definition
Mira Pro x64 Script User's Guide, v.8.73 Copyright Ⓒ 2024
Mirametrics, Inc. All Rights Reserved.