Tutorial
A seven-chapter jump-start. Each chapter builds on the last, taking you from the primitives every document is made of through to standards-compliant, accessible, encrypted output.
This tutorial is meant to be read in order: concepts introduced early (sections, the styling cascade, the fluent helpers) are assumed later. If you only want a single task done, the how-to guides are the faster path; if you want the why behind the model, read Concepts alongside.
Before you start, make sure you’ve installed the packages and produced the hello-world PDF.
The chapters
Section titled “The chapters”| # | Chapter | What you’ll learn |
|---|---|---|
| 1 | Building blocks | Document → Section → Block → Inline; adding paragraphs and headings; saving a PDF |
| 2 | Styling & typography | The Style fluent API: fonts, colors, alignment, decorations, spacing, and where styling lives |
| 3 | Tables, lists, images | Structured content: tables, ordered/unordered lists, and block & inline images |
| 4 | Headers, footers, page layout | Sections as page-setup boundaries; page size, margins, columns, headers/footers, page breaks |
| 5 | Forms & interactivity | Hyperlinks and AcroForm fields |
| 6 | Security: encryption & signatures | Passwords, permissions, AES encryption, and digital signatures |
| 7 | PDF/A & accessibility | Conformance, tagged PDF, language, and accessible output |
How the examples work
Section titled “How the examples work”Every code block is complete enough to compile in spirit: using directives appear
the first time they’re needed in a chapter. Most snippets end in a SavePdf(...) call
so you can run them and open the result. The matching runnable projects live in the
examples gallery.
Start with 1. Building blocks.