Fit |
A destination fits the height of a page into the viewport.
Note: Many PDF viewers support different viewing modes like "fit page" or "fit width". A FitHeightDestination will change the current viewing mode to "fit height" in those viewers.
Changing the viewing mode is usually not very well received by users and thus a LocationZoomDestination should be preferred in most cases.
public class FitHeightDestination : DirectDestination
The FitHeightDestination type exposes the following members.
| Name | Description | |
|---|---|---|
| FitActualContent | If , the viewport is fitted to the width of the actual content of the page, instead of the width of the page. Note: Many PDF viewers simply ignore this property and always treat it as , i.e. switching to "fit page" mode anyway. | |
| Left | 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. | |
| Page |
The page in the document that this destination is pointing to.
(Inherited from DirectDestination) | |
| Target | The target destination For direct destinations, this is just the destination itself.(Inherited from Destination) |
| Name | Description | |
|---|---|---|
| Create | Create a new FitHeightDestination The returned object is not yet used on any page, but it is associated with the given target document. | |
| Equals | (Inherited from NativeObject) | |
| GetHashCode | (Inherited from NativeObject) |