Set the zoom level for the PdfWebControl instance.
Syntax
function setZoom(zoomLevel);Parameters
zoomLevel
Type: Integer The zoom level at which the pages should be shown. This number should be a positive zoom level percentage. Specify -1 to fit the page to the current width of the viewer. Specify -2 to fit the page to the current height of the viewer. Specify -3 to fit the page to the current width and height of the viewer.Return Value
Type: Boolean
Returns true if successful
Examples
var myApi = new PdfWebControlApi("PdfWebControl1"); // where "PdfWebControl1" is the ID (ClientID) assigned to the PdfWebControl instance myApi.setZoom(100); //zoom to 100%