C2017-017 added a footer with the page number and date generated.

This commit is contained in:
John Jenko 2020-07-14 16:00:49 +00:00
parent 548435c00e
commit 1e785d7400

View File

@ -152,6 +152,9 @@ namespace Volian.Print.Library
try
{
PdfWriter writer = PdfWriter.GetInstance(document, new FileStream(fileName, FileMode.Create));
//C2017-017 add a footer consisting of the page number and date printed to summary/chronology of changes report
// This is the same Page Event used for Search reports (search results print) and is defined in PDFReport.cs
writer.PageEvent = new MyPageHelper("Procedure Changes");
document.SetMargins(36, 36, 36, 36);
document.Open();
_FileName = fileName;