getPageBoxXMin
Get the minimum x coordinate of the specified page box.
getPageBoxXMin([in] int page, [in] BSTR box, [out, retval] double *xMin)
This function returns the minimum x 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.
VB:
xMin = pdf.getPageBoxXMin(pageNum, "Media")
yMin = pdf.getPageBoxYMin(pageNum, "Media")
xMax = pdf.getPageBoxXMax(pageNum, "Media")
yMax = pdf.getPageBoxYMax(pageNum, "Media")