Sets several document limits. This function has to be called before
cpdf_open() to take effect. It sets the limits for any
document open afterwards.
Parameters
- maxPages
The maximum number of pages
- maxFonts
The maximum number of fonts
- maxImages
The maximum number of images
- maxAnnots
The maximum number of annotations
- maxObjects
The maximum number of objects
Return Values
Returns TRUE
on success or FALSE
on failure.