Skip to content

NET_SDK_ShowRect

Interface Definition

1
2
3
4
5
6
BOOL NET_SDK_ShowRect(
    POINTERHANDLE lPlayHandle,
    int x1,
    int x2,
    int y1,
    int y2);
1
2
3
4
5
6
public static extern bool NET_SDK_ShowRect(
    POINTERHANDLE lPlayHandle,
    int x1,
    int x2,
    int y1,
    int y2);

Function Description

(Only supported on Windows) Display a rectangular frame.

Parameter Description

Parameters Type Remark
lPlayHandlein POINTERHANDLE The preview handle, which is the return value of NET_SDK_LivePlay or NET_SDK_LivePlayEx.
x1in int The x-coordinate of the upper-left corner of the rectangle.
x2in int The x-coordinate of the lower-right corner of the rectangle.
y1in int The y-coordinate of the upper-left corner of the rectangle.
y2in int The y-coordinate of the lower-right corner of the rectangle.

Return Value

  • type:BOOL

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

Remarks

None

Error Code