Click or drag to resize
Pdftools logo

LocationZoomDestination Properties

The LocationZoomDestination type exposes the following members.

Properties
 NameDescription
Public propertyLeft

The location of the page that is displayed at the left border of the viewport (if possible).

If the property is , the value from before the jump is retained.

Note: Due to the current zoom factor, it is usually not possible for viewers to scroll as far to the right side, as would be necessary to place the location at the left corner of the viewport. However, viewers will ensure, that the location is at least visible.

In practice this means, that this value is mostly irrelevant.

Public propertyPage The page in the document that this destination is pointing to.
(Inherited from DirectDestination)
Public propertyTarget

The target destination

For direct destinations, this is just the destination itself.
(Inherited from Destination)
Public propertyTop

The location of the page that is displayed at the top of the viewport (if possible).

If the property is , the value from before the jump is retained.

Public propertyZoom

The zoom factor that is applied when jumping to the destination.

A value of means that the current zoom level is retained.

Note: Many PDF viewers support different viewing modes like "fit page" or "fit width".

A LocationZoomDestination with a Zoom value of will usually not change the current viewing mode in most viewers.

For other Zoom values however, the viewer must switch to the standard mode, i.e. deactivate special modes like "fit page" or "fit width".

Because of this, using a Zoom value other than is discouraged.

Top
See Also