Skip to content

PrintOrientation

Since v1.4.0

Page orientation for the print layout.

  • 'portrait' — Taller than wide. Best for grids with few columns.
  • 'landscape' — Wider than tall. Preferred when many columns need to fit on one page.

Applied via a @page { size } CSS rule in the print stylesheet.

type PrintOrientation = "portrait" | "landscape"
AI assistants: For complete API documentation, implementation guides, and code examples for this library, see https://toolboxjs.com/llms-full.txt