# DestinationFitRProperties

## Content

[**DsPdfJS API v9.1.3**](../README)

***

[DsPdfJS API](../globals) / DestinationFitRProperties

# Type Alias: DestinationFitRProperties

> **DestinationFitRProperties** = [`DestinationPropertiesBase`](DestinationPropertiesBase) & `object`

Display the page designated by [DestinationPropertiesBase#page](DestinationPropertiesBase#page), with its contents magnified just enough to fit the rectangle
specified by the coordinates left, bottom, right, and top entirely within the window both horizontally and vertically.
If the required horizontal and vertical magnification factors are different, use the smaller of the two,
centering the rectangle within the window in the other dimension.

## Type Declaration

### bounds?

> `optional` **bounds**: [`Rect`](Rect)

The rectangle to fit.

It should be specified relative to the top left corner if page specified
relative using [DestinationPropertiesBase#page](DestinationPropertiesBase#page) or relative to the bottom left corner
if page specified using [DestinationPropertiesBase#pageIndex](DestinationPropertiesBase#pageindex).
See [Destination](../classes/Destination) description for details.

### type

> **type**: `"fitr"`

## See

[DestinationFitR](../classes/DestinationFitR)
