procedure GetPageSize(Page: Integer; var x, y: Integer); stdcall;
HRESULT _stdcall GetPageSize([in] long Page, [in, out] long* x, [in, out] long* y);
Number of the page, you want the size from
|Width (PDF points)|
|Height (PDF points)|
Because a TIFF or PDF document can include pages with different sizes, you have to tell this procedure the desired page number in Page. The procedure will write the size of the page into the variables X and Y.
In case of a TIFF document, it will be the size in pixels.
In case of a PDF document, it will be the size in points (Points are a PDF specific measurement method because PDF documents are scalable and do not have a fixed size in pixels).