Class
Accessible
Camera.Focus.Aoi.Set
Syntax
uEye.FocusAoi.Set(uint number, int s32PosX, int s32PosY, int s32Width, int s32Height, uEye.Defines.AutoFocusAoiWeight weight)
uEye.FocusAoi.Set(uint number, System.Drawing.Rectangle rect, uEye.Defines.AutoFocusAoiWeight weight)
This class is currently only supported by the uEye LE USB 3.1 Gen 1 AF camera models. |
Description
Sets the focus AOI for the autofocus.
Parameter
number |
Number of the focus AOI |
s32PosX |
Sets the X position of the upper left corner of the focus AOI. |
s32PosY |
Sets the Y position of the upper left corner of the focus AOI. |
s32Width |
Sets the width of the focus AOI. |
s32Height |
Sets the height of the focus AOI. |
rect |
Sets the position and size of the focus AOI |
weight |
Sets the weighting of the zone: •uEye.Defines.AutoFocusAoiWeight.Middle |
The value IS_INVALID_IMAGE_PARAMETER is returned if the focus AOI is invalid or does not fit into the image AOI.