Lpdfio.Lpdf 0.24.0

dotnet add package Lpdfio.Lpdf --version 0.24.0
                    
NuGet\Install-Package Lpdfio.Lpdf -Version 0.24.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Lpdfio.Lpdf" Version="0.24.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Lpdfio.Lpdf" Version="0.24.0" />
                    
Directory.Packages.props
<PackageReference Include="Lpdfio.Lpdf" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Lpdfio.Lpdf --version 0.24.0
                    
#r "nuget: Lpdfio.Lpdf, 0.24.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Lpdfio.Lpdf@0.24.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Lpdfio.Lpdf&version=0.24.0
                    
Install as a Cake Addin
#tool nuget:?package=Lpdfio.Lpdf&version=0.24.0
                    
Install as a Cake Tool

Lpdf - PDF as Code

Lpdfio.Lpdf

.NET SDK for Lpdf — PDF as Code on every platform

You describe a document as code or XML. Lpdf renders a compact, pixel-perfect PDF — identical across platforms.

Installation

dotnet add package Lpdfio.Lpdf

Usage

using Lpdf;
using static Lpdf.L;

var engine = L.Engine();

var doc = L.Document(new() { Size = "letter", Margin = "48pt" }, [
    L.Section(NoAttr, [
        L.Layout(NoAttr, [
            L.Stack(new() { Gap = "24pt" }, [
                L.Split(NoAttr, [
                    L.Text(new() { FontSize = "8pt", Color = "#888888" }, ["ACME CORP"]),
                    L.Text(new() { FontSize = "22pt", Bold = "true" }, ["Project Proposal"]),
                ]),
                L.Divider(new() { Thickness = "xs" }),
                L.Text(new() { FontSize = "13pt", Bold = "true" }, ["Scope of Work"]),
                L.Flank(new() { Gap = "12pt", Align = "start" }, [
                    L.Text(new() { Color = "#888888", Width = "24pt" }, ["01"]),
                    L.Text(NoAttr, ["Discovery & Research"]),
                ]),
            ]),
        ]),
    ]),
]);

var pdf = await engine.Render(doc);

Requirements

  • .NET 8+
  • No external runtime dependencies — the Wasmtime runtime and WASI binary are bundled in the package.

Docs

lpdf.io/docs

Issues

Report bugs and request features at github.com/lpdfio/lpdf/issues, the one tracker for the engine, the SDKs and the VS Code extension. Pull requests are not accepted.

--

Dual-licensed: Community License (free) and Commercial License (paid). See LICENSE for full terms.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.24.0 39 10/5/2026
0.23.0 49 10/2/2026
0.22.0 82 9/23/2026
0.21.0 89 9/21/2026
0.20.0 88 9/21/2026
0.19.0 95 9/19/2026
0.18.0 93 9/19/2026
0.17.0 92 9/18/2026
0.16.0 102 9/17/2026
0.15.1 91 9/17/2026
0.15.0 89 9/16/2026
0.14.0 89 9/16/2026
0.13.0 92 9/16/2026
0.12.2 92 9/16/2026
0.12.1 90 9/16/2026
0.12.0 89 9/16/2026
0.11.0 92 9/16/2026
0.10.0 94 9/16/2026
0.9.0 91 9/16/2026
0.8.0 123 5/10/2026
Loading failed