Please enable JavaScript to view this site.

uEye .NET Manual 4.97

Class

uEye.FocusAoi

Accessible

Camera.Focus.Aoi.Get

Syntax

uEye.FocusAoi.Get(out uint number, out int s32PosX, out int s32PosY, out int s32Width, out int s32Height, out uEye.Defines.AutoFocusAoiWeight weight)

uEye.FocusAoi.Get(out uint number, out System.Drawing.Rectangle rect, out uEye.Defines.AutoFocusAoiWeight weight)

hint_info

This class is currently only supported by the uEye LE USB 3.1 Gen 1 AF camera models.

Description

Returns the set focus AOI for the autofocus.

Parameter

number

Number of the focus AOI

s32PosX

Returns the X position of the upper left corner of the focus AOI.

s32PosY

Returns the Y position of the upper left corner of the focus AOI.

s32Width

Returns the width of the focus AOI.

s32Height

Returns the height of the focus AOI.

rect

Returns the position and size of the focus AOI

weight

Returns the weighting of the zone:

uEye.Defines.AutoFocusAoiWeight.Middle