FPDF_GetPageWidth method

double FPDF_GetPageWidth(
  1. FPDF_PAGE page
)

Function: FPDF_GetPageWidth Get page width. Parameters: page - Handle to the page. Returned by FPDF_LoadPage. Return value: Page width (excluding non-displayable area) measured in points. One point is 1/72 inch (around 0.3528 mm). Note: Prefer FPDF_GetPageWidthF() above. This will be deprecated in the future. Comments: Changing the rotation of |page| affects the return value.

Implementation

double FPDF_GetPageWidth(FPDF_PAGE page) {
  return _FPDF_GetPageWidth(page);
}