OfficeIMO.Chm.Pdf
3.6.1
Prefix Reserved
dotnet add package OfficeIMO.Chm.Pdf --version 3.6.1
NuGet\Install-Package OfficeIMO.Chm.Pdf -Version 3.6.1
<PackageReference Include="OfficeIMO.Chm.Pdf" Version="3.6.1" />
<PackageVersion Include="OfficeIMO.Chm.Pdf" Version="3.6.1" />
<PackageReference Include="OfficeIMO.Chm.Pdf" />
paket add OfficeIMO.Chm.Pdf --version 3.6.1
#r "nuget: OfficeIMO.Chm.Pdf, 3.6.1"
#:package OfficeIMO.Chm.Pdf@3.6.1
#addin nuget:?package=OfficeIMO.Chm.Pdf&version=3.6.1
#tool nuget:?package=OfficeIMO.Chm.Pdf&version=3.6.1
OfficeIMO.Chm.Pdf
Render each selected compiled-help topic through OfficeIMO.Html.Pdf, then combine its pages using OfficeIMO.Pdf. Independent topic rendering preserves separate CSS contexts and starts each topic at a page boundary.
using OfficeIMO.Chm;
using OfficeIMO.Html.Pdf;
ChmDocument book = ChmDocument.Load("manual.chm");
OfficeConversionReport report = book.SaveAsPdf("manual.pdf", new ChmPdfExportOptions {
ConversionOptions = new ChmConversionOptions { MaxOutputBytes = 32L * 1024 * 1024 },
PdfOptions = new HtmlPdfExportOptions()
});
foreach (var diagnostic in report.Diagnostics)
Console.WriteLine($"{diagnostic.Code}: {diagnostic.Message}");
ToPdf(options, out report) returns the PDF model with the CHM source diagnostics in its OfficeConversionReport, ToPdfAsync returns both, and SaveAsPdf/SaveAsPdfAsync write a path or caller-owned stream. ChmPdfExportOptions.ConversionOptions selects topics and limits; PdfOptions carries page geometry, fonts and the supported PDF policy; FailOnLoss makes reported loss an error. All resources resolve inside the archive; conversion never fetches remote resources or opens external files. Encryption, when requested, applies once to the completed PDF.
Multi-topic PDFs are untagged because the shared merger cannot preserve a merged structure tree. Cross-topic links and the keyword index are not rebuilt. These losses are reported. Select one topic to retain the renderer's tagging behavior. This adapter does not claim PDF/UA or browser-equivalent layout. See CHM support and HTML PDF rendering.
Generated capability summary
This table is generated from the package-neutral OfficeIMO operation catalog. The detailed source contracts remain authoritative for feature-level behavior and limitations.
| Operation | Supported | Partial | Preserved | Rejected | Unsupported | Not applicable |
|---|---|---|---|---|---|---|
| Convert | 0 | 1 | 0 | 0 | 0 | 0 |
The complete rows for OfficeIMO.Chm.Pdf are published in the generated operation contract.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. 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 Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 is compatible. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETFramework 4.7.2
- OfficeIMO.Chm (>= 3.6.1)
- OfficeIMO.Html.Pdf (>= 3.6.1)
-
.NETStandard 2.0
- OfficeIMO.Chm (>= 3.6.1)
- OfficeIMO.Html.Pdf (>= 3.6.1)
-
net10.0
- OfficeIMO.Chm (>= 3.6.1)
- OfficeIMO.Html.Pdf (>= 3.6.1)
-
net8.0
- OfficeIMO.Chm (>= 3.6.1)
- OfficeIMO.Html.Pdf (>= 3.6.1)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on OfficeIMO.Chm.Pdf:
| Package | Downloads |
|---|---|
|
OfficeIMO.Workflows
Typed local document workflows that compose first-party OfficeIMO conversion, PDF, and provenance capabilities. |
GitHub repositories
This package is not used by any popular GitHub repositories.