PeachPDF

PeachPDF Namespace

Classes  
HtmlRenderException Thrown when HTML/CSS parsing, layout, or painting fails while a PdfGenerator method is rendering a document. RenderErrorType identifies which pipeline phase raised it.
PdfGenerateConfig The settings for generating PDF using PdfGenerator
PdfGenerator Renders HTML (and optionally CSS) into a PDF document entirely in-process, with no external browser or process dependency. This is the main entry point for PeachPDF: use one of the GeneratePdf overloads to create a new PeachPdfDocument, or one of the AddPdfPages overloads to append rendered pages to an existing one.
PeachPdfCssContent An opaque, pre-parsed stylesheet produced by ParseStyleSheet(string, bool). Pass an instance to a GeneratePdf/AddPdfPages overload’s cssData parameter to reuse the same parsed CSS across multiple renders instead of re-parsing identical stylesheet text on every call.
PeachPdfDocument A PDF document produced by PdfGenerator. Instances are created by calling one of the PdfGenerator.GeneratePdf overloads and are written out with Save(Stream).
Structs  
RuneRange An inclusive range of Unicode scalar values (codepoints), e.g. the U+0000-00FF of a CSS @font-faceunicode-range descriptor, or the coverage a font declares for a face registered via PdfGenerator’s AddFontFromStream. Both ends are inclusive - unlike System.Range, which is half-open and int/index based - and the endpoints are real System.Text.Runes, so surrogate/out-of-range values can’t be expressed by construction.
Enums  
HtmlRenderErrorType The pipeline phase a HtmlRenderException was raised from. Set on RenderErrorType.
PageOrientation Specifies the orientation of a page.
PageSize Identifies the most popular predefined page sizes.