Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

Can the api set the zoom level of a page?

Also, how do you find the x,y value of the pages grid so that I can center the view to it.
1404413087
Lithl
Pro
Sheet Author
API Scripter
No, you cannot set the zoom level of the page. You can get the dimensions of the page with page.get('width') and page.get('height').
Okay, thanks.