setScale of ui.pdfviewer, Methods Webix Docs
sets a new value for zooming scale and renders the current page with the new scale
void setScale(string|number scale,boolean update);
scale
Example
webix.ui({
view:"pdfviewer",
id:"pdf",
toolbar:"toolbar",
url:"binary->files/WebixDocs.pdf"
});
$$("pdf").setScale(0.5,true);
Details
For legal values check the scale property.
See also
API
If you have not checked yet, be sure to visit site of our main product Webix ui component library and page of pdf viewer library product.