CImage:Pixels CImage:Time

CImage:Rows


The Rows method returns the number of rows in the CImage. The row count equals the number of pixels along the vertical axis.

Syntax

nRows = CImage:Rows()

    On failure, this method returns 0.

    If the image has 1 dimension, this method returns 1.

Example

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

     nRows = I:Rows()

returns the value nRows = 1024.

Related Topics

CImage, Cols