Generated reference › API — ICoreEssentials/UI/Backends/WinUI/Printing
kind: generated#api#icoreessentials-ui-backends-winui-printing

API — ICoreEssentials/UI/Backends/WinUI/Printing

The public contract of 1 header(s) under ICoreEssentials/UI/Backends/WinUI/Printing — 1 class/struct definition(s), 0 declaration(s). Each section shows the header's banner and its public (and protected-virtual) surface exactly as the file writes it.

HeaderDefinesDeclarationsBases
ICoreWinUIPrintSetup.hICoreWinUIPageSetup0—

ICoreWinUIPrintSetup.h#

ICoreEssentials/UI/Backends/WinUI/Printing/ICoreWinUIPrintSetup.h

ICoreWinUIPageSetup#

ICoreWinUIPrintSetup.h:33 · struct · 0 declaration(s)

The page setup an ICorePrinter carries on this backend, and the in-zone seam the printer painter and the print dialog read it through.

struct ICoreWinUIPageSetup {
public:
    // The full sheet, in DIPs, orientation already applied.
    double pageWidth = 0.0;
    double pageHeight = 0.0;

    // One margin, in DIPs, applied to all four sides.
    double margin = 0.0;

    std::string documentName;

    // Empty == this job goes to a print queue. Non-empty == it is written to
    // this file instead.
    std::string pdfPath;

    // The queue to print through, empty for the machine's default. The print
    // dialog writes it; nothing else does.
    std::string queueName;
};
};