Fix: pdf insert blank pages

This commit is contained in:
Gary Sharp
2016-11-16 00:19:29 +11:00
parent aca037ecf8
commit 67261cd5b8
2 changed files with 6 additions and 8 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ namespace Disco.BI.Interop.Pdf
}
else
{
Stream bulkPdf = Utilities.JoinPdfs(InsertBlankPages, generatedPdfs);
Stream bulkPdf = Utilities.JoinPdfs(package.InsertBlankPages || InsertBlankPages, generatedPdfs);
foreach (Stream singlePdf in generatedPdfs)
singlePdf.Dispose();
return bulkPdf;