getPageWidth method
Returns the width of the loaded page.
Throws an PdfiumException if no page is loaded
Implementation
double getPageWidth() {
if (_page == nullptr) {
throw PdfiumException(message: 'Page not load');
}
return pdfium.FPDF_GetPageWidth(_page!);
}