DynamicPDF Flow
examples
Start with a PDF from scratch, build a multi-page invoice, or work with an existing document. Each guide includes C# and VB.NET code.
Find a practical starting point.
Search by task or choose a category to find a guide. Each example opens its code and walkthrough.
Start here
The first useful PDF, from a page of text to a document with structure.
Create a PDF
Create a PDF with a document title and centered, CSS-styled text.
Open example →Text & formatted text
Add plain and HTML-formatted text, and style a text box with CSS, padding, and a border.
Open example →Add an image
Add an image with preserved proportions or stretch a background within page margins.
Open example →Styling text using CSS
Apply document, page, and element CSS styles to text and embedded HTML.
Open example →Color formats
Compare accepted CSS color strings using labeled swatches and colored text.
Open example →Compose & layout
Arrange content with headers, footers, tables, columns, and reusable page layouts.
Add headers and footers
Add styled page headers and footers, including a full-width header with a logo.
Open example →Lists
Create styled ordered and unordered lists in separate PDFs.
Open example →Add a table
Create a styled two-column table with a header, item rows, and a total footer.
Open example →Create a nested table
Place an item and quantity table inside a packing-list cell.
Open example →Create a page with columns
Arrange text in two page columns with a gap and an explicit column break.
Open example →Rectangles
Create a dashed rectangle and a rounded rectangle with a solid border.
Open example →Add page numbers
Create PDFs with Roman header numbers and Arabic footer numbers.
Open example →Use a Template
Add a CSS-styled letter to an existing PDF letterhead template.
Open example →Watermark a PDF
Create a PDF containing a text watermark.
Open example →Add barcodes
Create 46 pages of linear, retail, postal, and two-dimensional barcodes.
Open example →Links & navigation
Add clickable links, bookmarks, and outlines to help readers navigate.
Merge & protect
Combine, split, and update existing PDFs or restrict access with passwords.
Combine PDFs
Append all pages of one PDF to another PDF.
Open example →Merge PDFs
Merge protected PDFs and selected page ranges, combine new and imported pages, and preserve imported JavaScript.
Open example →Add content to an existing PDF
Add red text to a PDF page, prepend a cover with a centered logo, and insert a new page.
Open example →Split PDFs
Extract pages 1-4 and 5-12 of DocumentD.pdf into separate PDFs.
Open example →Password-protect and restrict permissions
Password-protect PDFs with AES-256 and restrict copying and printing for an existing PDF.
Open example →Reports & data
Turn structured data into paginated PDF documents.