Skip to content

Installation

  • .NET 10 or later
  • Any platform .NET runs on - Papyra contains no native code
Terminal window
dotnet add package Papyra

The single Papyra package contains the document model, the layout engine, and all four renderers (PDF, DOCX, XLSX, HTML). There is nothing else to install.

The companion app is a separate desktop application that shows a live preview of your documents while you develop. The designer app is a second, standalone desktop tool for composing a report visually and getting the equivalent C# back. Both are currently in beta - usable, but with rough edges. Neither is required at runtime, and neither ships with your application. Prebuilt downloads for Windows, macOS, and Linux are on each guide’s page (companion downloads, designer downloads), or run either with dotnet run --project.

Package Used for License
DocumentFormat.OpenXml DOCX and XLSX output MIT
SixLabors.Fonts Font metrics and embedding for PDF Six Labors Split License¹
SixLabors.ImageSharp Image decoding, encoding, and pixel manipulation Six Labors Split License¹

¹ As a transitive dependency of Papyra, SixLabors.Fonts and SixLabors.ImageSharp are licensed to you under Apache 2.0 - no Six Labors license is ever required to use Papyra, regardless of company size. See third-party licenses.

Continue with the quick start.