Skip to content

NET_SDK_FishEyeAdjustFocusEx

Interface Definition

1
2
3
4
5
BOOL NET_SDK_FishEyeAdjustFocusEx(
    POINTERHANDLE lPlayHandle,
    int nX,
    int nY,
    int& nIndex);
1
2
3
4
5
public static extern Boolean NET_SDK_FishEyeAdjustFocusEx(
    POINTERHANDLE lPlayHandle,
    Int32 nX,
    Int32 nY,
    ref int nIndex);

Function Description

(Windows only) Sets the focus to determine which segment of the fisheye correction the current operation is applied to.

Parameter Description

Parameters Type Remark
lPlayHandlein POINTERHANDLE The preview handle, which is the return value of NET_SDK_LivePlay or NET_SDK_LivePlayEx.
nXin int The X coordinate value of the current focus, relative to the current playback window coordinate system.
nYin int The Y coordinate value of the current focus, relative to the current playback window coordinate system.
nIndexin int& The focus index.

Return Value

  • type:BOOL

  • remark:Returns TRUE if successful, FALSE if failed.

Remarks

None

Error Code