Skip to content

NET_SDK_FishEyeAdjustFocus

Interface Definition

1
2
3
4
BOOL NET_SDK_FishEyeAdjustFocus(
    POINTERHANDLE lPlayHandle,
    int nX,
    int nY);
1
2
3
4
public static extern Boolean NET_SDK_FishEyeAdjustFocus(
    POINTERHANDLE lPlayHandle,
    Int32 nX,
    Int32 nY);

Function Description

(Windows only) Sets the focus, which is used to determine which segment area 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.

Return Value

  • type:BOOL

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

Remarks

None

Error Code