Click or drag to resize

PDF Renderers Overview

A PDF renderer is an object capable of rendering page elements into the PDF document. The document model defines two types of renderers derived from the ElementsRenderer abstract class: the PdfPage class, which renders elements in a PDF page, and the Template class, which renders elements in a template area repeated on the pages of the PDF document.

Both renderers accept the same page elements: HTML to PDF and HTML to image elements, Word elements, text, images, shapes, and the interactive elements (links, text notes, file attachments). An element is added with the AddElement(PageElement) method, or without blocking with AddElementAsync.

An interactive element added to a template is created on each page the template is drawn on, at the same position, so a link in a header works on every page. Two elements are created only once: a digital signature signs the document once and is placed on the first page the template is drawn on, and a file attachment without a rectangle is attached to the document once.

See Also