WebAPI/WebPrintAPI: Difference between revisions

Add onBeforePrint and onAfterPrint
(Remove ctx.isFilePrint + ctx.DPI -> ctx.dpi)
(Add onBeforePrint and onAfterPrint)
Line 81: Line 81:
     }
     }
   }
   }
  // ---
  // Following functions MUST be defined by the developer.
  // ---
    
    
  pDoc.onBeforePrint = function() { /* DoSomething */ }
  pDoc.onAfterPrint = function() { /* DoSomething */ }
   // ---
   // ---
   // Provided API functions
   // Provided API functions
49

edits