PdfBox.Net.Layout 0.1.1

dotnet add package PdfBox.Net.Layout --version 0.1.1
                    
NuGet\Install-Package PdfBox.Net.Layout -Version 0.1.1
                    
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="PdfBox.Net.Layout" Version="0.1.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="PdfBox.Net.Layout" Version="0.1.1" />
                    
Directory.Packages.props
<PackageReference Include="PdfBox.Net.Layout" />
                    
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 PdfBox.Net.Layout --version 0.1.1
                    
#r "nuget: PdfBox.Net.Layout, 0.1.1"
                    
#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 PdfBox.Net.Layout@0.1.1
                    
#: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=PdfBox.Net.Layout&version=0.1.1
                    
Install as a Cake Addin
#tool nuget:?package=PdfBox.Net.Layout&version=0.1.1
                    
Install as a Cake Tool

PdfBox.Net.Layout

PdfBox.Net.Layout extracts a PDF into a renderer-independent page-layout model containing text, reading-order structures, links, forms, vector paths, images, optional browser assets, and conversion diagnostics.

Install

dotnet add package PdfBox.Net.Layout

Basic usage

using PdfBox.Net.Layout;
using PdfBox.Net.PDModel;

using PDDocument pdf = Loader.LoadPDF("input.pdf");
PdfLayoutDocument layout = PdfLayoutExtractor.Extract(pdf, new PdfLayoutOptions
{
    IncludeText = true,
    IncludeLinks = true,
    IncludeImages = true,
    IncludePaths = true
});

foreach (PdfLayoutPage page in layout.Pages)
{
    Console.WriteLine($"Page {page.PageNumber}: {page.Text}");
}

Image placements can be collected without exporting image assets. When IncludeImageAssets is enabled, ImageExportPolicy controls whether an unsupported image degrades with a diagnostic, fails strictly, or requires a registered rendering backend.

This package does not register a rendering backend. Applications that need image conversion or raster fallbacks can reference PdfBox.Net.SkiaSharp or PdfBox.Net.ImageMagick and register that provider during startup.

Use PdfBox.Net.Html when the desired result is HTML rather than the layout model itself.

Source and issues are available at github.com/erikbra/unpdf.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  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 (1)

Showing the top 1 NuGet packages that depend on PdfBox.Net.Layout:

Package Downloads
PdfBox.Net.Html

Fixed-layout HTML conversion for PdfBox.Net layout documents.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.1.1 57 7/15/2026
0.1.0 67 7/15/2026