pdfGetPageWidth
Get the width of the specified page.
double pdfGetPageWidth(PDFHandle pdf, int page)
This function returns the width of the specified page.
The units for the returned value are points, where 1 point = 1/72 inch.
This function is equivalent to:
pdfGetPageBoxXMax(pdf, page, "crop") - pdfGetPageBoxXMin(pdf, page, "crop")
C:
double w, h;
w = pdfGetPageWidth(pdf, pageNum);
h = pdfGetPageHeight(pdf, pageNum);