From 25b5e4ad2a597c19ceab7147840e9cb667630642 Mon Sep 17 00:00:00 2001 From: Rich Date: Mon, 7 Oct 2013 13:15:40 +0000 Subject: [PATCH] Turn-off PDFA1B Compatibility. --- PROMS/Volian.Print.Library/PromsPrinter.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/PROMS/Volian.Print.Library/PromsPrinter.cs b/PROMS/Volian.Print.Library/PromsPrinter.cs index 191fe40a..d4337bc5 100644 --- a/PROMS/Volian.Print.Library/PromsPrinter.cs +++ b/PROMS/Volian.Print.Library/PromsPrinter.cs @@ -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) {