Skip to main content
marchausmann
Participant
September 13, 2017
Answered

PDPage bleeding box

  • September 13, 2017
  • 1 reply
  • 1059 views

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

    This topic has been closed for replies.
    Correct answer marchausmann

    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

    1 reply

    marchausmann
    marchausmannAuthorCorrect answer
    Participant
    September 13, 2017

    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