discontinuedPackage jet_cad_floor_plan has been discontinued and replaced by jet_cad_2d_plan.

printPageFormat function

PdfPageFormat printPageFormat(
  1. PageComponent page
)

page's paper in pt, as laid out (orientation applied): the size the print dialog opens on (spec 13 D9; without it the dialog opens on PdfPageFormat.standard).

Implementation

PdfPageFormat printPageFormat(PageComponent page) => PdfPageFormat(
    page.effectiveWidthMm * 72 / 25.4, page.effectiveHeightMm * 72 / 25.4);