Skip to content

ui::PrintPage

Header: winui/ui/Printing.hpp.

One page of a print job, as its callbacks get it. Sizes are DIPs, 1/96 inch, as on screen.

Field Type Default
index std::size_t 0 0-based, in the whole document (not just the pages being printed).
size Size The sheet, in the orientation the user chose.
printable Rect The part of the sheet the printer can reach, from its top-left.