Components for Developers
© 2000-2012, Two Pilots

PDF Library Download Features Manual Tutorials FAQ Pricing HTML2PDF-X Pilot History In the Lab

PDF Creator Pilot documentation

Download CHM version of this manual.
Collapse All

Specifies the PDF document page zoom level.

Syntax

enum PM_ZOOM_MODE

Remarks

Name Parameters Description Value
zmXYZ left, top, zoom Display the page with the coordinates (left, top) positioned at the upper-left corner of the window and the contents of the page magnified by the factor zoom. A PM_RETAINED_UNCHANGED value for any of the parameters left, top, or zoom specifies that the current value of that parameter is to be retained unchanged. A zoom value of 0 has the same meaning as a PM_RETAINED_UNCHANGED value.

1

zmFit None Display the page with its contents magnified just enough to fit the entire page within the window both horizontally and vertically. If the required horizontal and vertical magnification factors are different, use the smaller of the two, centering the page within the window in the other dimension.

2

zmFitH top Display the page with the vertical coordinate top positioned at the top edge of the window and the contents of the page magnified just enough to fit the entire width of the page within the window. A PM_RETAINED_UNCHANGED value for top specifies that the current value of that parameter is to be retained unchanged.

3

zmFitV left Display the page with the horizontal coordinate left positioned at the left edge of the window and the contents of the page magnified just enough to fit the entire height of the page within the window. A PM_RETAINED_UNCHANGED value for left specifies that the current value of that parameter is to be retained unchanged.

4

zmFitR left, bottom, right, top Display the page with its contents magnified just enough to fit the rectangle specified by the coordinates left, bottom, right, and top entirely within the window both horizontally and vertically. If the required horizontal and vertical magnification factors are different, use the smaller of the two, centering the rectangle within the window in the other dimension. A PM_RETAINED_UNCHANGED value for any of the parameters may result in unpredictable behavior.

5

zmFitB None Display the page with its contents magnified just enough to fit its bounding box entirely within the window both horizontally and vertically. If the required horizontal and vertical magnification factors are different, use the smaller of the two, centering the bounding box within the window in the other dimension.

6

zmFitBH top Display the page with the vertical coordinate top positioned at the top edge of the window and the contents of the page magnified just enough to fit the entire width of its bounding box within the window. A PM_RETAINED_UNCHANGED value for top specifies that the current value of that parameter is to be retained unchanged.

7

zmFitBV left Display the page with the horizontal coordinate left positioned at the left edge of the window and the contents of the page magnified just enough to fit the entire height of its bounding box within the window. A PM_RETAINED_UNCHANGED value for left specifies that the current value of that parameter is to be retained unchanged.

8

PDF Library Download Features Manual Tutorials FAQ Pricing HTML2PDF-X Pilot History In the Lab

 

 

PDF Library | Virtual Printer | Converters to PDF

Support | Blog | Forum | Contacts

© 2000-2012, Two Pilots