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

API — ICoreEssentials/UI/Backends/Web/Printing

The public contract of 1 header(s) under ICoreEssentials/UI/Backends/Web/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
ICoreWebPrintSetup.hICoreWebPageSetup0—

ICoreWebPrintSetup.h#

ICoreEssentials/UI/Backends/Web/Printing/ICoreWebPrintSetup.h

The web printing seat's shared state (web backend, WB7.2): what ICorePrinter::nativeState() points at, and what ICorePrinterPainter reads. The GTK4 peer is ../../Gtk4/Printing/ICoreGtk4PrintSetup.h, and the units are the same: POINTS, a margin applied on all four sides, A4 in its physical size.

Backend-private: nothing outside UI/Backends/Web/ includes it.

ICoreWebPageSetup#

ICoreWebPrintSetup.h:13 · struct · 0 declaration(s)

struct ICoreWebPageSetup {
public:
    std::string documentName;
    std::string pdfPath;            // empty: print; set: write a PDF there
    double pageWidth = 0.0;         // points
    double pageHeight = 0.0;
    double margin = 0.0;            // points, all four sides
    bool landscape = false;
};
};