[]
        
(Showing Draft Content)

ReportViewer.Rect

Class: Rect

ReportViewer.Rect

Represents a rectangle in page coordinates.

example

const rect = new Rect(0, 0, 200, 100);

Table of contents

Constructors

Properties

Constructors

constructor

new Rect(left, top, width, height)

Initializes a new instance of the Rect class.

example

const rect = new Rect(10, 20, 300, 120);

Parameters

Name Type Description
left number The left coordinate.
top number The top coordinate.
width number The rectangle width.
height number The rectangle height.

Properties

height

height: number

Gets or sets the height of the rectangle.


left

left: number

Gets or sets the left coordinate of the rectangle.


top

top: number

Gets or sets the top coordinate of the rectangle.


width

width: number

Gets or sets the width of the rectangle.