Hi,
The PDPage class gives this information with the getTrimBox() and
getArtBox() methods. There is also getCropBox() and getBleedBox(). (But
I don't know if this solves your problem, I only use the cropbox and the
mediabox, but I'm not a printer)
Tilman
On 03.01.2023 23:03, Carmen Johnson wrote:
We are a printer and I have an application that uses loads of PDFs
from our clients.
I would like to programmatically examine the PDFs to verify that the
client has added crop marks & bleed.
I’ve poked around in the API documentation and I’m guessing that IF
there is a Trim Box and the dimensions are larger than the Art box,
that be my clue?
What classes would I use to figure this out? What classes contain Trim
and Art box methods?
Any recommendations are appreciated…
*Carmen Johnson**
*Sr. Applications Developer*
*737 Regal Row*
*Dallas, TX 75247*
*C. 817.832.8670*
*O. 214.528.2622**
<http://www.brodnax21c.com/>
/Follow us on social
media/<https://www.facebook.com/brodnax21c><https://instagram.com/brodnax21c><https://www.linkedin.com/company/brodnax21c>
/Go to link below for all your Promotional product needs!//
//http://promoplace.com/BrodnaxPromo/ <http://promoplace.com/BrodnaxPromo>