Skip to content

ui::PrintHost

Header: winui/ui/Printing.hpp.

What print() hands the job to: the platform's print dialog and spooler, or a test double (ui::testing::TestPrintHost).

~PrintHost

virtual ~PrintHost() = default

print

virtual PrintResult print(const Window* owner, PrintJob& job) = 0

Runs job over owner (nullptr: none) and says how it ended.