print Method |
Print the document currently open in the PdfWebControl instance.
function print();
None
Type: Boolean
true if printing initiated successfully; otherwise, false.This method will start the print dialog, however it can not ensure that the client does print the PDF.
var myApi = new PdfWebControlApi("PdfWebControl1"); // where "PdfWebControl1" is the ID (ClientID) assigned to the PdfWebControl instance myApi.print(); //this will bring up the print dialog