예제 #1
0
 private void OnPrintPage(object sender, PrintPageEventArgs e)
 {
     BaseExportRenderer.DrawItems(e.Graphics, this.Pages[currentPage].Items);
     if (this.currentPage < this.Pages.Count - 1)
     {
         this.currentPage++;
         e.HasMorePages = true;
         return;
     }
     e.HasMorePages = false;
 }
예제 #2
0
 public override void RenderOutput()
 {
     base.RenderOutput();
     if (this.graphics != null)
     {
         BaseExportRenderer.DrawItems(this.graphics, this.page.Items);
     }
     else
     {
         return;
     }
 }