pdfGetPageBoxYMin

Get the minimum y coordinate of the specified page box.
double pdfGetPageBoxYMin(PDFHandle pdf, int page, const char *box)
This function returns the minimum y coordinate of the specified page box. PDF files have several different page boxes: the media box, crop box, bleed box, trim box, and art box. (See the PDF spec for more details.) Each of these boxes is a rectangle, with minimum and maximum x and y coordinates.

The box argument can be any one of "media", "crop", "bleed", "trim", or "art". This argument is not case-sensitive.

The returned value is in the PDF coordinate space. The units are points, where 1 point = 1/72 inch.

C:
double xMin, yMin, xMax, yMax; xMin = pdfGetPageBoxXMin(pdf, pageNum, "Media"); yMin = pdfGetPageBoxYMin(pdf, pageNum, "Media"); xMax = pdfGetPageBoxXMax(pdf, pageNum, "Media"); yMax = pdfGetPageBoxYMax(pdf, pageNum, "Media");
pdfGetPageBoxXMin
pdfGetPageBoxXMax
pdfGetPageBoxYMax
pdfGetPageWidth
pdfGetPageHeight