////////////////////////////////////////////////////////////////////
        // Print Example
        ////////////////////////////////////////////////////////////////////

        private void OnTableExample(object sender, EventArgs e)
        {
            ExceptionReport.Wrap("PDF Document creation falied", delegate
            {
                TableExample TE = new TableExample();
                TE.Test(DebugCheckBox.Checked, "TableExample.pdf");
                return;
            });
        }
        ////////////////////////////////////////////////////////////////////
        // Print Example
        ////////////////////////////////////////////////////////////////////

        private void OnTableExample(object sender, EventArgs e)
        {
            try
            {
                TableExample TE = new TableExample();
                TE.Test(DebugCheckBox.Checked, "TableExample.pdf");
                return;
            }

            catch (Exception Ex)
            {
                // error exit
                String[] ExceptionStack = ExceptionReport.GetMessageAndStack(Ex);
                MessageBox.Show(this, "PDF Document creation falied\n" + ExceptionStack[0] + "\n" + ExceptionStack[1],
                                "PDFDocument Error", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
                return;
            }
        }