B2018-029: Deleted Supplemental Information step appears in pdf

This commit is contained in:
Kathy Ruffing 2018-02-21 13:31:24 +00:00
parent 9355ead6ef
commit 0f982954b0

View File

@ -157,6 +157,10 @@ namespace VEPROMS
MyPromsPrinter.DocReplace = DocReplace; // used when approve generates an export with unlinked ROs and Transitions
DateTime tStart = DateTime.Now;
if (!CancelStop) PromsPrinter.ClearTransPageNumProblems();
// B2018-029: delete any pdf files related to printing supplemental information facing pages:
string[] filePaths = System.IO.Directory.GetFiles(Volian.Base.Library.VlnSettings.TemporaryFolder, "*.pdf");
foreach (string filePath in filePaths) System.IO.File.Delete(filePath);
do
{
int profileDepth = ProfileTimer.Push(">>>> MyPromsPrinter.Print");