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.

# PTZ_3D_POINT_INFO,LPPTZ_3D_POINT_INFO

### Structure Definition

C++C#

     1
     2
     3
     4
     5
     6
     7
     8
     9
    10
    typedef struct
    {
        int selBeginX;
        int selBeginY;
        int selEndX;
        int selEndY;
        int displayWidth;
        int displayHeight;
        int reserve[2];
    } PTZ_3D_POINT_INFO, * LPPTZ_3D_POINT_INFO;

     1
     2
     3
     4
     5
     6
     7
     8
     9
    10
    11
    12
    [StructLayout(LayoutKind.Sequential, Pack = 4)]
    public struct PTZ_3D_POINT_INFO
    {
        public Int32 selBeginX;
        public Int32 selBeginY;
        public Int32 selEndX;
        public Int32 selEndY;
        public Int32 displayWidth;
        public Int32 displayHeight;
        [MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.I4, SizeConst = 2)]
        public Int32[] reserve;
    }

### Function Description

3D PTZ control parameters

### Member Description

Member | Type | Remark
--- | --- | ---
selBeginX | int | The x coordinate of the starting point of the mouse drag selection box (relative to the upper left corner of the current window).
selBeginY | int | The y coordinate of the end point of the mouse drag selection box (relative to the upper left corner of the current window).
selEndX | int | The x coordinate of the end point of the mouse drag box (relative to the upper left corner of the current window).
selEndY | int | The y coordinate of the end point of the mouse drag selection box (relative to the upper left corner of the current window).
displayWidth | int | Image display area width.
displayHeight | int | Image display area height.
reserve | int[2] | Reserved fields.

Error Code