Copy link to clipboard
Copied
Hello, I'm using the PDF Library and I'm trying to deal with Artbox, Trimbox and Bleedbox.
I'm wondering if there are similar functions to the PDPageGetBox or PDPageGetCropBox in order to get the Art-, Trim- and Belld-boxes.
Can anybody give me a hint in this issue?
Many Thanks and have a nice day!!!!
Beste Regards!!
Marc
Hi,
it was easier than expected......
I found that I can get the different boxes simply using the PDPageGetBox function by specifying the box name:
ASAtom boxstr = ASAtomFromString("TrimBox");
PDPageGetBox(pdPage, boxstr, &pageRect);
Thanks for reading!!
Best Regards!!!!
Marc
Copy link to clipboard
Copied
Hi,
it was easier than expected......
I found that I can get the different boxes simply using the PDPageGetBox function by specifying the box name:
ASAtom boxstr = ASAtomFromString("TrimBox");
PDPageGetBox(pdPage, boxstr, &pageRect);
Thanks for reading!!
Best Regards!!!!
Marc