I get multiple PDF/a files, which need some further editing. To accomplish this, I want to remove the Pdf/A Complliance. Used language is VB.NET.
Is this possible with Spire.Pdf?
So far I tried setting the Conformance Level to None before saving with no effect.
Another approach of mine was extracting the XMPData, rewriting it and updating:
- Code: Select all
Dim meta As XmpMetadata = pdfIn.XmpMetaData
Dim value As String = meta.XmlData.InnerXml.ToString
[removing "pdfaid:part" and "pdfaid:conformance" nodes from value]
pdfIn.XmpMetaData.XmlData.LoadXml(value)
But when I load the PDF up again, the previous XMP-Data and PDF/a compliance remains.
Am I using the wrong approach?
Thank you,
F.Brischwein