| layout | default-layout |
|---|---|
| needAutoGenerateSidebar | true |
| needGenerateH3Content | true |
| noTitleIndex | true |
| title | Dynamsoft Document Viewer API Reference - Interface Rect |
| keywords | Documentation, Dynamsoft Document Viewer, API Reference, Interface Rect |
| breadcrumbText | Interface Rect |
| description | Dynamsoft Document Viewer Documentation API Reference Interface Rect Page |
| permalink | /api/interface/rect.html |
interface Rect {
left: number;
top: number;
width: number;
height: number;
}The x-coordinate of the upper-left corner of the area.
The y-coordinate of the upper-left corner of the area.
The width of the rectangle area. The unit is point.
The height of the rectangle area. The unit is point.
- [
crop()]({{ site.api }}class/editviewer.html#crop) - [
getCropRect()]({{ site.api }}class/editviewer.html#getcroprect) - [
setCropRect()]({{ site.api }}class/editviewer.html#setcroprect)
