Notifications
Announcements
My Questions:
public byte[] ConvertToPDFA3Bytes(string srcPDF, string xmlPath, string xmlFileName) { iTextSharp.text.pdf.PdfReader reader = new iTextSharp.text.pdf.PdfReader(srcPDF); using MemoryStream ms = new MemoryStream(); using (PdfStamper stamper = new PdfStamper(reader, ms)) { PdfFileSpecification pfs = PdfFileSpecification.FileEmbedded(stamper.Writer, xmlPath, xmlFileName, null); stamper.AddFileAttachment(xmlFileName.Replace(".xml", ""), pfs); } iText.Kernel.Pdf.PdfWriter myPDFWriter = new iText.Kernel.Pdf.PdfWriter(ms); return ms.ToArray(); }
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Abhilash Warrier 732 Super User 2025 Season 2
André Arnaud de Cal... 413 Super User 2025 Season 2
Martin Dráb 289 Most Valuable Professional