printPageSize
The printed paper size for a document format: the bleed box as exact CSS inch strings.
The printed paper size for a document format: the bleed box as exact CSS
inch strings. Inches are the lossless unit here — a browser driver converts
them to PDF points at exactly 72/in, so the emitted page boxes carry the
declared physical geometry verbatim (they equal the resolved
pointWidth/pointHeight).
Import from @homepages/template-kit.
Signature
Section titled “Signature”function printPageSize(format: DocumentFormat): PrintPageSizeParameters
Section titled “Parameters”| Name | Type | Required | Description |
|---|---|---|---|
format |
DocumentFormat |
required |
Returns
Section titled “Returns”PrintPageSize
See also
Section titled “See also”captureViewportframeTokensresolveFormatGeometrysettleCaptureCAPTURE_HAS_ISLANDS_EXPRESSIONCAPTURE_ISLAND_PAINT_GRACE_EXPRESSIONCAPTURE_ISLAND_PAINT_GRACE_MSCAPTURE_ISLAND_QUIET_WINDOW_MSCAPTURE_ISLAND_SETTLE_TIMEOUT_MSCAPTURE_ISLANDS_READY_EXPRESSIONCAPTURE_ISLANDS_READY_GLOBALCAPTURE_READY_EXPRESSIONCAPTURE_WAIT_UNTILFRAME_ROOT_CLASSCaptureSettleHostCaptureViewportFormatIdentityFrameTokensPrintPageSizeResolvedFormatGeometryDocumentFormatImageFormatPhysicalLength