Skip to main content

Examples

RecipeExampleDescription
01Create a PDFCreate a PDF with a document title and centered, CSS-styled text.
02Text & formatted textAdd plain and HTML-formatted text, and style a text box with CSS, padding, and a border.
03Add headers and footersAdd styled page headers and footers, including a full-width header with a logo.
04Add an imageAdd an image with preserved proportions or stretch a background within page margins.
05Styling text using CSSApply document, page, and element CSS styles to text and embedded HTML.
06Color formatsCompare accepted CSS color strings using labeled swatches and colored text.
07ListsCreate styled ordered and unordered lists in separate PDFs.
08Add a tableCreate a styled two-column table with a header, item rows, and a total footer.
09Create a nested tablePlace an item and quantity table inside a packing-list cell.
10Create a page with columnsArrange text in two page columns with a gap and an explicit column break.
11RectanglesCreate a dashed rectangle and a rounded rectangle with a solid border.
12Add page numbersCreate PDFs with Roman header numbers and Arabic footer numbers.
13Use a TemplateAdd a CSS-styled letter to an existing PDF letterhead template.
14Watermark a PDFCreate a PDF containing a text watermark.
15Add barcodesCreate 46 pages of linear, retail, postal, and two-dimensional barcodes.
16Add a hyperlinkAdd a blue, underlined web link using HTML-formatted text.
17Bookmarks & outlinesCreate page bookmarks and nested outlines with text styling and destination settings.
18Combine PDFsAppend all pages of one PDF to another PDF.
19Merge PDFsMerge protected PDFs and selected page ranges, combine new and imported pages, and preserve imported JavaScript.
20Add content to an existing PDFAdd red text to a PDF page, prepend a cover with a centered logo, and insert a new page.
21Split PDFsExtract pages 1-4 and 5-12 of DocumentD.pdf into separate PDFs.
22Password-protect and restrict permissionsPassword-protect PDFs with AES-256 and restrict copying and printing for an existing PDF.
23Create an invoiceGenerate a paginated invoice with billing addresses, itemized charges, and a grand total.