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.

Syntax

nCols = CImage:Cols()

bullet.gif    On failure, this method returns 0.

Example

Suppose a CImage object I is attached to an image having 1024 columns. Then

     nCols = I:Cols()

returns the value nCols = 1024.

Related Topics

CImage class, Rows


Mira Pro x64 Script User's Guide, Copyright Ⓒ 2024 Mirametrics, Inc. All Rights Reserved.