Search results

Magnification API in JavaScript PDF Viewer API control

Magnification module

Methods

fitToPage

Scales the page to fit the page in the container in the control.

Returns void

fitToWidth

Scales the page to fit the page width to the width of the container in the control.

Returns void

zoomIn

Magnifies the page to the next value in the zoom drop down list.

Returns void

zoomOut

Magnifies the page to the previous value in the zoom drop down list.

Returns void

zoomTo

Zoom the PDF document to the given zoom value

Parameter Type Description
zoomValue number Specifies the Zoom Value for magnify the PDF document

Returns void