On Wed Jul 10 22:00:46 2019, jidanni@jidanni.org wrote:
Show quoted text> We read
> $pdf->mediabox($llx, $lly, $urx, $ury)
> Sets the global mediabox.
> OK, but also mention how to *get* the global mediabox. E.g., "what is
> the current height?"
There wasn't actually a method for getting the global boundary boxes, as it turns out. The closest you could get was to call get_mediabox on a page, which would default to the global mediabox if it hadn't been overridden.
I've just updated mediabox, cropbox, bleedbox, trimbox, and artbox to do both getting and setting at both the PDF and page level.