Example #1
0
        // Event that is emitted at the end of the print process.
        public override void OnEndPrint
            (PrintDocument document, PrintEventArgs e)
        {
            IToolkitPrintSession session = GetSession(document);

            try
            {
                session.EndPrint(e);
            }
            finally
            {
                document.session = null;
            }
        }
Example #2
0
 // Event that is emitted at the end of the print process.
 public override void OnEndPrint
     (PrintDocument document, PrintEventArgs e)
 {
     session.EndPrint(e);
 }