---
layout: default-layout
needAutoGenerateSidebar: true
needGenerateH3Content: true
noTitleIndex: true
title: Dynamsoft Document Viewer API Reference - Interface RectXY
keywords: Documentation, Dynamsoft Document Viewer, API Reference, Interface RectXY
breadcrumbText: Interface RectXY
description: Dynamsoft Document Viewer Documentation API Reference Interface RectXY Page
---

# RectXY

## Syntax

```typescript
interface RectXY {
  x: number;
  y: number;
  width: number;
  height: number;
}
```

## Attributes

### x

The x-coordinate of the upper-left corner of the area.

### y

The y-coordinate of the upper-left corner of the area.

### width 

The width of the rectangle area. The unit is point.

### height

The height of the rectangle area. The unit is point.
