Name
dest:SetFitH -- fit page width to window
Synopsis
status = dest:SetFitH(top)
Function
dest:SetFitH() defines the appearance of a page to magnifying to fit the width of the page within the window and setting the top position of the page to the value of the top parameter.

Inputs
top
the top coordinate of the page
Results
status
status code
Errors
#HPDF_INVALID_DESTINATION - An invalid destination handle was set.

#HPDF_INVALID_PARAMETER - An invalid value was set at either left, top or zoom parameter.


Show TOC