OfficeIMO.Html.Pdf.Browser
3.2.4
Prefix Reserved
dotnet add package OfficeIMO.Html.Pdf.Browser --version 3.2.4
NuGet\Install-Package OfficeIMO.Html.Pdf.Browser -Version 3.2.4
<PackageReference Include="OfficeIMO.Html.Pdf.Browser" Version="3.2.4" />
<PackageVersion Include="OfficeIMO.Html.Pdf.Browser" Version="3.2.4" />
<PackageReference Include="OfficeIMO.Html.Pdf.Browser" />
paket add OfficeIMO.Html.Pdf.Browser --version 3.2.4
#r "nuget: OfficeIMO.Html.Pdf.Browser, 3.2.4"
#:package OfficeIMO.Html.Pdf.Browser@3.2.4
#addin nuget:?package=OfficeIMO.Html.Pdf.Browser&version=3.2.4
#tool nuget:?package=OfficeIMO.Html.Pdf.Browser&version=3.2.4
OfficeIMO.Html.Pdf.Browser
OfficeIMO.Html.Pdf.Browser is the optional Chromium-backed route for pages that need browser layout, JavaScript, or live website navigation. OfficeIMO.Html.Pdf remains the managed, dependency-light default for static HTML.
Install
dotnet add package OfficeIMO.Html.Pdf.Browser
HtmlTinkerX owns browser lifecycle, navigation, readiness, credentials, network policy, and PDF capture. This package opens the resulting bytes through OfficeIMO.Pdf, so extraction, inspection, preflight, and mutation use the same APIs as any other PDF source.
using HtmlTinkerX;
using OfficeIMO.Html.Pdf.Browser;
using OfficeIMO.Pdf;
await using var renderer = new HtmlBrowserPdfRenderer();
var request = new HtmlBrowserPdfRequest(
HtmlBrowserPdfSource.FromUrl("https://example.com"),
pdfOptions: new HtmlBrowserPdfOptions(tagged: false));
PdfDocumentConversionResult result =
await renderer.CapturePdfDocumentResultAsync(request);
PdfDocumentPreflight preflight = result.Value.Preflight();
PdfMutationPlan stamping = result.Value.PlanMutation(
PdfMutationOperation.ModifyPageContent);
string text = result.Value.Read.Text();
Use tagged: false when later full-rewrite operations are important. Use tagged: true when Chromium-generated accessibility structure is required. In both cases, treat PdfDocument.Preflight() and PdfDocument.PlanMutation(...) as authoritative: a valid, readable PDF can still have operation-specific rewrite blockers.
The bridge never falls back from managed rendering to Chromium automatically. Browser capture executes page code and may access network resources, so callers must opt in and configure HtmlTinkerX security policy explicitly.
| Product | Versions 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 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. |
| .NET Framework | net472 is compatible. net48 was computed. net481 was computed. |
-
.NETFramework 4.7.2
- HtmlTinkerX (>= 3.0.0)
- OfficeIMO.Core (>= 3.2.4)
- OfficeIMO.Pdf (>= 3.2.4)
-
net10.0
- HtmlTinkerX (>= 3.0.0)
- OfficeIMO.Core (>= 3.2.4)
- OfficeIMO.Pdf (>= 3.2.4)
-
net8.0
- HtmlTinkerX (>= 3.0.0)
- OfficeIMO.Core (>= 3.2.4)
- OfficeIMO.Pdf (>= 3.2.4)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.