C2017-017 added a footer with the page number and date generated.
This commit is contained in:
parent
548435c00e
commit
1e785d7400
@ -152,6 +152,9 @@ namespace Volian.Print.Library
|
|||||||
try
|
try
|
||||||
{
|
{
|
||||||
PdfWriter writer = PdfWriter.GetInstance(document, new FileStream(fileName, FileMode.Create));
|
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.SetMargins(36, 36, 36, 36);
|
||||||
document.Open();
|
document.Open();
|
||||||
_FileName = fileName;
|
_FileName = fileName;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user