Skip to content
This SDK only works with devices released within the past 3 years. We regularly optimize and update the SDK to ensure compatibility and performance. We do not guarantee compatibility or provide technical support for devices older than 3 years.

# NET_SDK_FishEyeAdjustZoom

### Interface Definition

C++C#

    1
    2
    3
    BOOL NET_SDK_FishEyeAdjustZoom(
        POINTERHANDLE lPlayHandle,
        const RECT& ZoomRect);

    1
    2
    3
    public static extern Boolean NET_SDK_FishEyeAdjustZoom(
        POINTERHANDLE lPlayHandle,
        in RECTANGLE ZoomRect);

### Function Description

(Only supports Windows) Electronic PTZ zoom. Only when entering the fisheye correction mode, the segment belonging to the electronic PTZ can be zoomed in.

### Parameter Description

Parameters | Type | Remark
--- | --- | ---
lPlayHandlein | POINTERHANDLE | The preview handle, which is the return value of `NET_SDK_LivePlay` or `NET_SDK_LivePlayEx`.
ZoomRectin | RECT& | Specifies the location information of the area to be enlarged, relative to the current playback window coordinate system.

### Return Value

- Type：BOOL

- Remark：Returns TRUE if successful, FALSE if failed.

### Remarks

None

Error Code