B2020-020 Needed to pass in the DocVersionInfo to the Consistency Check report so that we can get the paper size.

This commit is contained in:
2020-02-17 16:28:30 +00:00
parent 885153e305
commit 96354e6374
3 changed files with 14 additions and 6 deletions

View File

@@ -740,7 +740,7 @@ namespace VEPROMS
if (dvi == null) return;
this.Cursor = Cursors.WaitCursor;
ItemInfoList iil = ItemInfoList.GetAllInconsistencies(dvi.VersionID);
Volian.Print.Library.PDFConsistencyCheckReport rpt = new Volian.Print.Library.PDFConsistencyCheckReport(Volian.Base.Library.VlnSettings.TemporaryFolder + @"\AllInconsistencies.pdf", iil);
Volian.Print.Library.PDFConsistencyCheckReport rpt = new Volian.Print.Library.PDFConsistencyCheckReport(Volian.Base.Library.VlnSettings.TemporaryFolder + @"\AllInconsistencies.pdf", iil, dvi); //B2020-020 needed to pass in DocVersion to get paper size from format
rpt.BuildAllReport(dvi);
this.Cursor = Cursors.Default;
}