How do I
use the PDF-XChange Pro SDK to delete all annotations from specified pages?
How do I use the PDF-XChange Pro SDK to delete all annotations from specified pages?
This is not possible currently as the xcpro40 library does not contain the functionality to edit or delete annotations. It can be used only to add annotations. However, the low-level API can be used to delete annotations. This will require additional coding but will provide full control of PDF content. Please note that the low-level API is a powerful set of functions that enables developers to make changes at the most fundamental level of PDF files. Whilst this is very useful from a developmental perspective, indiscriminate use will undoubtedly lead to file corruption and other issues. Tracker Software will not accept any responsibility, should such problems arise, and we advise emphatically that developers exercise caution and patience when the low-level API is utilized.
If you request support in relation to the low-level API then we will expect you to have a thorough working knowledge of PDF and the associated Adobe documentation. The best references for this are:
These documents provide a comprehensive description/analysis of PDF and are intended for developers of PDF-related software. They contain sufficient information to enable developers to write applications that read PDF files and/or modify their content.