pdfHTML 6.0.0 API
iText.Html2pdf.Attach.Impl.Layout.HtmlDocument Class Reference

This class is a wrapper on iText.Layout.Document , which is the default root element while creating a self-sufficient PDF. More...

Inheritance diagram for iText.Html2pdf.Attach.Impl.Layout.HtmlDocument:

Public Member Functions

  HtmlDocument (PdfDocument pdfDoc, PageSize pageSize, bool immediateFlush)
  Creates a html document from a iText.Kernel.Pdf.PdfDocument with a manually set iText.Kernel.Geom.PageSize. More...
 
override void  Relayout ()
 

Detailed Description

This class is a wrapper on iText.Layout.Document , which is the default root element while creating a self-sufficient PDF.

This class is a wrapper on iText.Layout.Document , which is the default root element while creating a self-sufficient PDF. It contains several html-specific customizations.

Constructor & Destructor Documentation

◆ HtmlDocument()

iText.Html2pdf.Attach.Impl.Layout.HtmlDocument.HtmlDocument ( PdfDocument  pdfDoc,
PageSize  pageSize,
bool  immediateFlush 
)
inline

Creates a html document from a iText.Kernel.Pdf.PdfDocument with a manually set iText.Kernel.Geom.PageSize.

Parameters
pdfDoc the in-memory representation of the PDF document
pageSize the page size
immediateFlush if true, write pages and page-related instructions to the iText.Kernel.Pdf.PdfDocument as soon as possible.

Member Function Documentation

◆ Relayout()

override void iText.Html2pdf.Attach.Impl.Layout.HtmlDocument.Relayout ( )
inline