CImage:Cols
The Cols method returns the number of columns in the CImage. The column count equals the number of pixels along the horizontal axis.
nCols = CImage:Cols() |
On failure, this method returns 0.
Suppose a CImage object I is attached to an image having 1024 columns. Then
nCols = I:Cols()
returns the value nCols = 1024.