C# PDF generation library

You can create PDF documents by combining building blocks like pages, containers, images, paragraphs of text and the like. Layout add-on for Docotic.Pdf library will generate PDFs from your layout.

C# PDF generation result

You would need Layout add-on to generate PDF documents using Layout API. This is a free add-on for Docotic.Pdf library. The add-on is also available in the zip file with the library binaries.

Docotic.Pdf library 9.3.17105-dev Layout add-on 9.3.17105-dev
Regression tests 14,681 passed Total NuGet downloads 4,234,061

Articles

Read these articles to know how to describe the layout of your documents in C# and VB.NET code and have the library generate PDF files for you.

  • Generate PDF documents in C# and VB.NET
    C# PDF generator API to create PDF files easily. Modern code-only approach with Fluent API and powerful layout engine.

  • Getting Started
    Generate PDF documents, reports, and invoices by following this initial information on using Layout API.

  • Building documents
    How to set up document encryption, metadata, and some generation-related options.

  • How to layout pages
    How to layout PDF pages using built-in content slots. Describes how to add watermarks, specify text direction and style.

  • Containers and their content
    How to use Layout API containers to organize content. Describes types of content you can put into containers. Shows ways to decorate containers.

  • Size, position, and rendering of containers
    Shows how to specify size and position for containers. Describes conditional rendering of content. Talks about support for left-to-right and right-to-left content directions.

  • Create PDF documents in C# and VB.NET
    Generate PDF documents in C# and VB.NET using Docotic.Pdf library.

API reference

Check out the API reference for Layout addon to find out methods parameters and other implementation details.

Sample code

These sample projects show how to create PDF documents in C# and VB.NET using Layout add-on.