Turn-off PDFA1B Compatibility.

This commit is contained in:
Rich 2013-10-07 13:15:40 +00:00
parent 69a8470a47
commit 25b5e4ad2a

View File

@ -243,7 +243,9 @@ namespace Volian.Print.Library
try
{
writer = PdfWriter.GetInstance(document, new FileStream(outputFileName, FileMode.Create));
writer.PDFXConformance = PdfWriter.PDFA1B;
// PDFA1B does not allow layers, so this is disabled for now
// If enabled, CreateLayers will need to be skipped.
//writer.PDFXConformance = PdfWriter.PDFA1B;
}
catch (Exception ex)
{