Home > Obsolete functions > History back  Previous chapter  Next chapter  Print  

GetImageSize

uEye ActiveX Manual Version 4.00

GetImageSize

Syntax

LONG GetImageSize (LONG* nWidth, LONG* nHeight)

Description

Achtung

This function is obsolete and should not be used anymore. We recommend to use the SetAOI() function instead (see also Obsolete functions).

GetImageSize() returns the width and height of the image. The default value is dependent on the camera model. The image size can be set with the SetAOI() function.

Parameters

Parameter

Description

nWidth

Receives the width of the image.

nHeight

Receives the height of the image.

Return values

IS_SUCCESS

Function executed successfully

IS_NO_SUCCESS

General error message

Example:

LONG w, h;
ret = GetImageSize(&w, &h);


Suggestion for improvement? Send us your short Feedback on this chapter. Thank you very much!

For technical questions please contact you local distributor or use the support form on our website.


© 2012 IDS Imaging Development Systems GmbH
http://www.ids-imaging.com