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

@@ -30,10 +30,11 @@ namespace Volian.Print.Library
get { return _MyItemInfoList; }
set { _MyItemInfoList = value; }
}
public PDFConsistencyCheckReport(string fileName, ItemInfoList myItemInfoList)
public PDFConsistencyCheckReport(string fileName, ItemInfoList myItemInfoList, DocVersionInfo myDocVersion)
{
_FileName = fileName;
_MyItemInfoList = myItemInfoList;
_MyDocVersion = myDocVersion; //B2020-020 needed to pass in DocVersion to get paper size from format
}
public void BuildReport()
{