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.

# RECTANGLE

### Structure Definition

C++C#

    1
    2
    3
    4
    5
    6
    7
    typedef struct _rectangle_
    {
        unsigned int X1;
        unsigned int Y1;
        unsigned int X2;
        unsigned int Y2;
    } RECTANGLE;

    1
    2
    3
    4
    5
    6
    7
    8
    [StructLayout(LayoutKind.Sequential, Pack = 4)]
    public struct RECTANGLE
    {
        public UInt32 X1;
        public UInt32 Y1;
        public UInt32 X2;
        public UInt32 Y2;
    }

### Function Description

Rectangular frame.

### Member Description

Member | Type | Remark
--- | --- | ---
X1 | unsigned int | X coordinate of the upper left corner.
Y1 | unsigned int | Y coordinate of the upper left corner.
X2 | unsigned int | The X coordinate of the lower right corner.
Y2 | unsigned int | The Y coordinate of the lower right corner.

Error Code