Frequently Asked Question:
Why can’t Direct Access and standard functions be used together?
Why can't Direct Access and standard functions be used together?
The Direct Access functions and the standard functions cannot be used together because they operate in two fundamentally different ways. While the standard functions read the entire PDF into memory, the DA functions work directly with PDFs on disk -- only loading what is necessary, which consumes a lot less memory.
If you attempt to use the DA functions and the standard functions together then the functions will not work correctly.
The DA functions were originally added to the library to make working with large PDFs easier. Depending on circumstances, using the standard functions with large PDFs can result in a lot of memory being used up, which is often not desirable.
A list of the DA functions can be found by clicking on the link below: