How to use apache pdfbox to check PDF contains watermark and watermark content allows at least 6.35mm of non-printable area on each edge of a page?
I need to support various printer margin capabilities; it is STRONGLY RECOMMENDED that the watermark content allow for at least ¼” (6.35mm) of non-printable area on each edge of a page.
I want to achieve this using apache pdfbox but, not getting how to proceed.
I want to check if watermark exists in the PDF, then the watermark content allows for at least ¼” (6.35mm) of non-printable area on each edge of a page.