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; }
public override void RenderOutput() { base.RenderOutput(); if (this.graphics != null) { BaseExportRenderer.DrawItems(this.graphics, this.page.Items); } else { return; } }