THPDFHTMLImporter.RenderHTML5

Renders HTML through the bounded HTML5 paged-media profile and returns True when at least one block was emitted

function RenderHTML5(const HTML: WideString;
  const AuthorStyleSheet: WideString= ''): Boolean;

The unit is HPDFHTMLImport; the author style sheet is parsed after the document cascade so its rules override author declarations with equal specificity

Tables, form controls, flex containers, and grid containers participate in paged layout; CreateAcroForms turns HTML forms into AcroForm fields instead of static text

The DOM node, CSS rule, layout-operation, and resource budgets plus MaxDecodedImageBytes are enforced during rendering, and exceeding one raises EHPDFHTMLImportBudget

Unsupported CSS produces diagnostics unless StrictCSS is enabled

HTML5 paged-media import