Skip to content

Code patterns

The tutorial shows you what the API can do. These pages are about how to structure your own code so that real documents (invoices with dozens of line items, reports assembled from a database, branded templates reused across a team), stay readable and maintainable.

None of these patterns require new framework features. They are conventions for organizing plain C# around the document model: how to factor reusable pieces, where to put helpers, and how to drive structure from data.