getDpi Method |
Gets a value representing the document DPI (dots per inch) as set by RenderDpi for the current document in the PdfWebControl instance.
function getDpi();
None
Type: Integer
Returns the number of pixels per inch in the document.var myApi = new PdfWebControlApi("PdfWebControl1"); // where "PdfWebControl1" is the ID (ClientID) assigned to the PdfWebControl instance window.alert("Document DPI is " + myApi.getDpi());