Location |
Create a new LocationZoomDestination
The returned object is not yet used on any page, but it is associated with the given target document.public static LocationZoomDestination Create( Document targetDocument, Page page, double? left, double? top, double? zoom )
The location of the page that is displayed at the left border of the viewport or .
See property Left for more information.
The location of the page that is displayed at the top of the viewport or .
See property Top for more information.
The zoom factor that is applied when jumping to the destination or .
See property Zoom 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 . |