![]() |
VOOZH | about |
dotnet add package OfficeIMO.Word.Pdf --version 1.0.40
NuGet\Install-Package OfficeIMO.Word.Pdf -Version 1.0.40
<PackageReference Include="OfficeIMO.Word.Pdf" Version="1.0.40" />
<PackageVersion Include="OfficeIMO.Word.Pdf" Version="1.0.40" />Directory.Packages.props
<PackageReference Include="OfficeIMO.Word.Pdf" />Project file
paket add OfficeIMO.Word.Pdf --version 1.0.40
#r "nuget: OfficeIMO.Word.Pdf, 1.0.40"
#:package OfficeIMO.Word.Pdf@1.0.40
#addin nuget:?package=OfficeIMO.Word.Pdf&version=1.0.40Install as a Cake Addin
#tool nuget:?package=OfficeIMO.Word.Pdf&version=1.0.40Install as a Cake Tool
👁 nuget version
👁 nuget downloads
OfficeIMO.Word.Pdf exports OfficeIMO.Word documents to PDF through the first-party OfficeIMO.Pdf engine. It is the adapter layer: Word stays responsible for the .docx model, while PDF layout and writing stay in OfficeIMO.Pdf.
dotnet add package OfficeIMO.Word.Pdf
using OfficeIMO.Word;
using OfficeIMO.Word.Pdf;
using var document = WordDocument.Create("report.docx");
document.AddParagraph("PDF export").Style = WordParagraphStyles.Heading1;
document.AddParagraph("This document is exported through OfficeIMO.Pdf.");
document.SaveAsPdf("report.pdf");
using OfficeIMO.Pdf;
using OfficeIMO.Word;
using OfficeIMO.Word.Pdf;
using var document = WordDocument.Load("proposal.docx");
var options = new PdfSaveOptions {
Orientation = PdfPageOrientation.Portrait,
Margins = PageMargins.UniformCentimeters(1.5),
Title = "Customer proposal",
Author = "Evotec",
IncludePageNumbers = true,
PageNumberFormat = "Page {current} of {total}"
};
document.SaveAsPdf("proposal.pdf", options);
using OfficeIMO.Word;
using OfficeIMO.Word.Pdf;
using var document = WordDocument.Load("invoice.docx");
byte[] pdfBytes = document.SaveAsPdf();
using var stream = File.Create("invoice.pdf");
document.SaveAsPdf(stream);
using OfficeIMO.Word;
using OfficeIMO.Word.Pdf;
using var document = WordDocument.Load("complex-document.docx");
var options = new PdfSaveOptions {
DefaultTableBorders = true
};
var result = document.TrySaveAsPdf("complex-document.pdf", options);
if (!result.Succeeded) {
foreach (string diagnostic in result.Diagnostics) {
Console.WriteLine(diagnostic);
}
}
foreach (var warning in options.ConversionReport.Warnings) {
Console.WriteLine($"{warning.Source}: {warning.Message}");
}
using OfficeIMO.Word.Pdf;
var imported = PdfWordTableConverterExtensions.SavePdfTablesAsWord(
"statement.pdf",
"statement-tables.docx");
foreach (var table in imported) {
Console.WriteLine($"Page {table.PageNumber}, table {table.TableIndex + 1}");
}
PdfSaveOptions.Warnings and PdfSaveOptions.ConversionReport.Use PdfSaveOptions when callers need to override page geometry, metadata, page-number behavior, font family, or table-border fallback. Keep PdfSaveOptions.Warnings and PdfSaveOptions.ConversionReport visible in wrappers and user interfaces; unsupported Word features should become actionable diagnostics instead of silent README promises.
OfficeIMO.Pdf; Word-specific mapping belongs here.netstandard2.0, net8.0, net10.0.| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 net5.0 was computed. net5.0-windows net5.0-windows was computed. net6.0 net6.0 was computed. net6.0-android net6.0-android was computed. net6.0-ios net6.0-ios was computed. net6.0-maccatalyst net6.0-maccatalyst was computed. net6.0-macos net6.0-macos was computed. net6.0-tvos net6.0-tvos was computed. net6.0-windows net6.0-windows was computed. net7.0 net7.0 was computed. net7.0-android net7.0-android was computed. net7.0-ios net7.0-ios was computed. net7.0-maccatalyst net7.0-maccatalyst was computed. net7.0-macos net7.0-macos was computed. net7.0-tvos net7.0-tvos was computed. net7.0-windows net7.0-windows was computed. net8.0 net8.0 is compatible. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 was computed. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 is compatible. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 netcoreapp2.0 was computed. netcoreapp2.1 netcoreapp2.1 was computed. netcoreapp2.2 netcoreapp2.2 was computed. netcoreapp3.0 netcoreapp3.0 was computed. netcoreapp3.1 netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 netstandard2.0 is compatible. netstandard2.1 netstandard2.1 was computed. |
| .NET Framework | net461 net461 was computed. net462 net462 was computed. net463 net463 was computed. net47 net47 was computed. net471 net471 was computed. net472 net472 is compatible. net48 net48 was computed. net481 net481 was computed. |
| MonoAndroid | monoandroid monoandroid was computed. |
| MonoMac | monomac monomac was computed. |
| MonoTouch | monotouch monotouch was computed. |
| Tizen | tizen40 tizen40 was computed. tizen60 tizen60 was computed. |
| Xamarin.iOS | xamarinios xamarinios was computed. |
| Xamarin.Mac | xamarinmac xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos xamarinwatchos was computed. |
Showing the top 1 NuGet packages that depend on OfficeIMO.Word.Pdf:
| Package | Downloads |
|---|---|
|
OfficeIMO.Html.Pdf
Bidirectional HTML/PDF converter for OfficeIMO - Thin adapter over OfficeIMO.Markdown.Html, OfficeIMO.Word.Html, and the first-party OfficeIMO.Pdf logical/read/render engines. |
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.40 | 60 | 6/16/2026 |
| 1.0.39 | 125 | 6/16/2026 |
| 1.0.38 | 84 | 6/15/2026 |
| 1.0.37 | 202 | 6/13/2026 |
| 1.0.36 | 173 | 6/12/2026 |
| 1.0.35 | 99 | 6/9/2026 |
| 1.0.34 | 239 | 6/5/2026 |
| 1.0.33 | 138 | 5/27/2026 |
| 1.0.32 | 97 | 5/26/2026 |
| 1.0.31 | 105 | 5/26/2026 |
| 1.0.30 | 104 | 5/23/2026 |
| 1.0.29 | 102 | 5/22/2026 |
| 1.0.28 | 96 | 5/21/2026 |
| 1.0.27 | 102 | 5/21/2026 |
| 1.0.26 | 89 | 5/20/2026 |
| 1.0.25 | 103 | 5/19/2026 |
| 1.0.24 | 99 | 5/18/2026 |
| 1.0.23 | 97 | 5/16/2026 |
| 1.0.22 | 97 | 5/14/2026 |
| 1.0.21 | 100 | 5/14/2026 |