Fit |
Create a new FitRectangleDestination
The returned object is not yet used on any page, but it is associated with the given target document.public static FitRectangleDestination Create( Document targetDocument, Page page, Rectangle rectangle )
The rectangle that is displayed in the viewport.
See property Rectangle for more information.
| Exception | Condition |
|---|---|
| ArgumentException | if the targetDocument argument has already been closed |
| ArgumentException | if the targetDocument argument is read-only |
| ArgumentException | if the targetDocumentdiffers from the document associated with page |
| ArgumentException | If the document associated with the page argument has already been closed |
| ArgumentNullException | if targetDocument is . |
| ArgumentNullException | if page is . |