Add or Remove Attachments in PDF Files using C++

PDF has become a massively used file format because of its cross-platform support. You can create a PDF on the Windows platform, for example, and then transfer it to the Mac without any compatibility or formatting issues. One of the powerful features that PDF supports is adding attachments. You can embed other documents into a PDF file just like the email attachments. In this article, you are going to learn how to deal with PDF attachments programmatically. More specifically, you will come to know how to get, add, and remove attachments in PDF files using C++.
November 2, 2020 · 3 min · Usman Aziz