Turn-off PDFA1B Compatibility.
This commit is contained in:
parent
69a8470a47
commit
25b5e4ad2a
@ -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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user