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:
jjenko committed 2020-02-17 16:28:30 +00:00
1 parent 885153e305
commit 96354e6374
3 files changed
+14 -6

No files matched your search

+1 -1
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;
}