THPDFDestinationFitMode
Enumerates the PDF destination page-fit modes used by GoTo and named-destination actions
Declaration
THPDFDestinationFitMode = (dfmXYZ, dfmFit, dfmFitH, dfmFitV, dfmFitR, dfmFitB, dfmFitBH, dfmFitBV);
Unit
HPDFDoc
Values
| Value | Meaning |
|---|---|
dfmXYZ | Display the page with the coordinates (Left, Top) positioned at the upper-left corner and magnified by Zoom |
dfmFit | Fit the entire page within the window |
dfmFitH | Fit the page width, positioning Top at the top edge |
dfmFitV | Fit the page height, positioning Left at the left edge |
dfmFitR | Fit the rectangle specified by Left, Bottom, Right, Top |
dfmFitB | Fit the page bounding box within the window |
dfmFitBH | Fit the bounding box width, positioning Top at the top edge |
dfmFitBV | Fit the bounding box height, positioning Left at the left edge |
Usage notes
- Used by THotPDF.RegisterNamedDestination, THPDFNamesFacade.AddNamedDestination, and the THPDFActionBuilder.GoToPage family
- Position-dependent modes consume
Left,Top,Right,Bottom, andZoom; the others ignore them