|
CFx SDK Documentation 2026 SP0
|
Enumerations | |
| enum | BookmarkType { kXYZ , kFit , kFitH , kFitV , kFitR , kFitB , kFitBH , kFitBV } |
Declarations for bookmark support.
Bookmark types within a PDF document.
| Enumerator | |
|---|---|
| kXYZ | Displays a target point on the specified page defined with its coordinates (left, top) in the upper-left corner of the window. Page content referenced by the bookmark is displayed as scaled according to the zoom factor. When the value of the left, top or zoom parameter equals null, it means that the value of the respective parameter remains unchanged. When the value of the zoom parameter equals zero (0), it has the same effect as the null value. |
| kFit | Displays the specified page, scaled both horizontally and vertically to fit all page content in the viewer window. When horizontal and vertical scale factors have different values, the smallest is used, and the page is centered in the viewer window in the other dimension. |
| kFitH | Displays the specified page with the vertical offset from the top edge according to the top parameter, and scales the page content horizontally to fit it in the viewer window. When the top parameter equals the null value, it means that the current value stays unchanged. |
| kFitV | Displays the specified page with the horizontal offset from the left edge according to the left parameter, and scales the page content vertically to fit it in the viewer window. When the left parameter equals the null value, it means that the current value stays unchanged. |
| kFitR | Displays the specified page and scales the page content to fit it horizontally and vertically in a rectangle defined by left, bottom, right and top coordinates. When horizontal and vertical scale factors have different values, the smallest of them is used. The rectangle is centered in the viewer window in the other dimension. |
| kFitB | Displays the specified page and scales the page content to fit it horizontally and vertically in a bounding box. When horizontal and vertical scale factors have different values, the smallest of them is used. The bounding box is centered in the viewer window in the other dimension. |
| kFitBH | Displays the specified page with the vertical offset from the top edge according to the top parameter, and scales the page content horizontally to fit it in the specified bounding box within the viewer window. When the top parameter equals the null value, it means that the current value stays unchanged. |
| kFitBV | Displays the specified page with the horizontal offset from the left edge according to the left parameter, and scales the page content vertically to fit it in the specified bounding box within the viewer window. When the left parameter equals the null value, it means that the current value stays unchanged. |
Definition at line 656 of file PdfPublishCommon.h.