RecursiveAI.OnePdf.Html
1.0.0
Prefix Reserved
dotnet add package RecursiveAI.OnePdf.Html --version 1.0.0
NuGet\Install-Package RecursiveAI.OnePdf.Html -Version 1.0.0
<PackageReference Include="RecursiveAI.OnePdf.Html" Version="1.0.0" />
<PackageVersion Include="RecursiveAI.OnePdf.Html" Version="1.0.0" />
<PackageReference Include="RecursiveAI.OnePdf.Html" />
paket add RecursiveAI.OnePdf.Html --version 1.0.0
#r "nuget: RecursiveAI.OnePdf.Html, 1.0.0"
#:package RecursiveAI.OnePdf.Html@1.0.0
#addin nuget:?package=RecursiveAI.OnePdf.Html&version=1.0.0
#tool nuget:?package=RecursiveAI.OnePdf.Html&version=1.0.0
RecursiveAI.OnePdf.Html
Converts PDF files to HTML in .NET, in two modes: semantic HTML that reflows in reading order (headings, paragraphs, lists, tables, figures, links and notes, from the PDF's tags or inferred from its layout), or fixed-layout HTML that looks like the page, with selectable text in the PDF's own glyph shapes over SVG graphics and images.
using OnePdf.Html;
string html = PdfHtml.Convert("report.pdf");
PdfHtml.Convert("report.pdf", "report.html", new PdfHtmlOptions { Mode = PdfHtmlMode.FixedLayout });
Options cover page ranges, passwords, limits, parallel pages, one file or a file per page, images and fonts inline or as files, headers and footers (mark, keep or drop), form fields, annotations and fonts. PdfHtmlConverter converts page by page into any IPdfHtmlSink, and IPdfHtmlTextSource lets a page's text come from somewhere other than the PDF's text layer (see RecursiveAI.OnePdf.Html.Ocr).
The output contains no script and no remote references and keeps only web, mail and in-document links. The same input and options give the same bytes.
Built on RecursiveAI.OnePdf, OnePdf.Fonts, OneFont, OneImage, OneImage.Pdf and OneHtml. net10.0, NativeAOT- and trim-compatible, no native code. HTML to PDF is in RecursiveAI.OnePdf.Html.Render, the command line in RecursiveAI.OnePdf.Html.Tool.
- Guide: https://github.com/recursive-ai-oss/onepdf-html-csharp/blob/main/docs/pdf-to-html.md
- Source and documentation: https://github.com/recursive-ai-oss/onepdf-html-csharp
- Licensed under MIT or Apache-2.0. Third-party notices are in
THIRD-PARTY-NOTICES.mdin this package.
| Product | Versions 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. |
-
net10.0
- RecursiveAI.OneFont (>= 1.6.0)
- RecursiveAI.OneHtml (>= 1.7.0)
- RecursiveAI.OneImage (>= 1.11.3)
- RecursiveAI.OneImage.Pdf (>= 1.11.3)
- RecursiveAI.OnePdf (>= 1.26.0)
- RecursiveAI.OnePdf.Fonts (>= 1.26.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on RecursiveAI.OnePdf.Html:
| Package | Downloads |
|---|---|
|
RecursiveAI.OnePdf.Html.Ocr
A text source for RecursiveAI.OnePdf.Html that supplies recognised text for scanned PDF pages and pages with a missing or broken text layer. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.0 | 0 | 12/4/2026 |