I downloaded the latest version from the CVS. However
there is a problem with the display of the page numbers
on the first page of the document (in preview mode).
The fix is as follows:
ReportDocument.cs:
protected override void OnPrintPage (PrintPageEventArgs e)
{
if (this.countPages && !this.pagesWereCounted)
{
this.pagesWereCounted = true;
this.totalPages = 1;
this.currentPage = 1; // THIS IS NEEDED
this.noPrint = true;
try
{
SectionText.cs:
In DoPrint(...)
if (!reportDocument.NoPrint) // THIS IS NEEDED
g.FillRectangle (this.TextStyle.BackgroundBrush,
backgroundRect);
}
if (!reportDocument.NoPrint) // THIS IS NEEDED
g.DrawString(textToPrint, textFont,
this.TextStyle.Brush, textLayout, GetStringFormat());
I hope this helps.