Home > Obsolete functions > History back  Previous chapter    Print  

SetImageSize

uEye ActiveX Manual Version 4.00

SetImageSize

Syntax

LONG SetImageSize (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).

SetImageSize() defines the image size read out from the image sensor. When used in combination with the SetImagePosition() function, SetImageSize() allows to cut out an area of interest of the full image.

Achtung

Changes to the image geometry or pixel clock affect the value ranges of the frame rate and exposure time. After executing SetImageSize(), calling the following functions is recommended in order to keep the defined camera settings:

SetFrameRate()

SetExposureTime()

If you are using the uEye's flash function: SetFlashStrobe()

Parameters

nWidth

Width of image/area of interest.

nHeight

Height of image/area of interest.

Return values

IS_SUCCESS

Function executed successfully

IS_NO_SUCCESS

General error message

Related functions

SetAOI()

SetImagePosition()


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