GetImageRows
Returns the image row size ( in pixels ) that has been set on the controller.
Syntax
long GetImageRows();
Parameters
None
Returns
long - The current image row size.
Required Headers
CController.h
Namespace
arc
Throws
std::runtime_error
Remarks
None
Example
        // This code demonstrates how to read the current
        // image size from the controller.

        #include <iostream.h>
        #include "CController.h"
        using namespace std;
        using namespace arc;

        CController cController;

        // .... open driver, initialize, etc ....

        try {
            cout << "rows: " << cController.GetImageRows() << endl;
            cout << "cols: " << cController.GetImageCols() << endl;
        }
        catch ( std::exception &e )
        {
            cerr << "Exception Occurred: " << e.what() << endl;
        }

© Astronomical Research Cameras, Inc.