Clarification needed for setZoomLevel

New Here ,
Feb 07, 2022 Feb 07, 2022

Copy link to clipboard

Copied

I am trying to set the zoom level of my PDFS the same such that they share the same margin.

The docs specify:

 

This API accepts a float value as input and sets the zoom level of the PDF to that value. The input must lie between the minimum and maximum allowed zoom levels of the PDF.

 

What is the default range of this float value when no min/max is set? 
How do i get the equivilent of 80% zoom (where 100% is fit to width)?

TOPICS
PDF Embed API

Views

32

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
no replies

Have something to add?

Join the conversation
Resources