Name
dest:SetFitR -- fit page to rectangle
Synopsis
status = dest:SetFitR(left, bottom, right, top)
Function
dest:SetFitR() defines the appearance of a page to magnifying the page to fit a rectangle specified by left, bottom, right and top.

Inputs
left
the left coordinates of the page
bottom
the bottom coordinates of the page
right
the right coordinates of the page
top
the top coordinates 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