printPageFormat function
PdfPageFormat
printPageFormat(
- 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);