getPageHeight method

double getPageHeight()

Returns the height of the loaded page.

Throws an PdfiumException if no page is loaded

Implementation

double getPageHeight() {
  if (_page == nullptr) {
    throw PdfiumException(message: 'Page not load');
  }
  return pdfium.FPDF_GetPageHeight(_page!);
}