Skip to content

Latest commit

 

History

History
50 lines (35 loc) · 1.03 KB

File metadata and controls

50 lines (35 loc) · 1.03 KB
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

Rect

Syntax

interface Rect {
    left: number;
    top: number;
    width: number;
    height: number;
}

Attributes

left

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

top

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.

Rect

Related

  • [crop()]({{ site.api }}class/editviewer.html#crop)
  • [getCropRect()]({{ site.api }}class/editviewer.html#getcroprect)
  • [setCropRect()]({{ site.api }}class/editviewer.html#setcroprect)