OfficeIMO.Excel.Pdf
1.0.6
Prefix Reserved
See the version list below for details.
dotnet add package OfficeIMO.Excel.Pdf --version 1.0.6
NuGet\Install-Package OfficeIMO.Excel.Pdf -Version 1.0.6
<PackageReference Include="OfficeIMO.Excel.Pdf" Version="1.0.6" />
<PackageVersion Include="OfficeIMO.Excel.Pdf" Version="1.0.6" />
<PackageReference Include="OfficeIMO.Excel.Pdf" />
paket add OfficeIMO.Excel.Pdf --version 1.0.6
#r "nuget: OfficeIMO.Excel.Pdf, 1.0.6"
#:package OfficeIMO.Excel.Pdf@1.0.6
#addin nuget:?package=OfficeIMO.Excel.Pdf&version=1.0.6
#tool nuget:?package=OfficeIMO.Excel.Pdf&version=1.0.6
OfficeIMO.Excel.Pdf - Excel to PDF export
OfficeIMO.Excel.Pdf exports OfficeIMO.Excel workbooks to PDF through the first-party OfficeIMO.Pdf engine. It also imports logical PDF tables into editable Excel worksheets.
Install
dotnet add package OfficeIMO.Excel.Pdf
Quick start
using OfficeIMO.Excel;
using OfficeIMO.Excel.Pdf;
using var workbook = ExcelDocument.Load("report.xlsx");
workbook.SaveAsPdf("report.pdf");
Examples
Export selected sheets with worksheet print settings
using OfficeIMO.Excel;
using OfficeIMO.Excel.Pdf;
using OfficeIMO.Pdf;
using var workbook = ExcelDocument.Load("monthly-report.xlsx");
var options = new ExcelPdfSaveOptions {
SheetNames = new[] { "Summary", "Revenue", "Costs" },
UseWorksheetPrintAreas = true,
UseWorksheetPageSetup = true,
UseWorksheetHeadersAndFooters = true,
UseWorksheetPageBreaks = true,
PageSize = PageSizes.A4.Landscape(),
Margins = PageMargins.UniformCentimeters(1.2)
};
workbook.SaveAsPdf("monthly-report.pdf", options);
Export a workbook to bytes or a stream
using OfficeIMO.Excel;
using OfficeIMO.Excel.Pdf;
using var workbook = ExcelDocument.Load("statement.xlsx");
byte[] pdfBytes = workbook.SaveAsPdf();
using var stream = File.Create("statement.pdf");
workbook.SaveAsPdf(stream);
Surface mapping warnings
using OfficeIMO.Excel;
using OfficeIMO.Excel.Pdf;
using var workbook = ExcelDocument.Load("dashboard.xlsx");
var options = new ExcelPdfSaveOptions {
IncludeSheetHeadings = true,
RespectWorksheetHiddenRowsAndColumns = true,
UseWorksheetCharts = true
};
var result = workbook.TrySaveAsPdf("dashboard.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}");
}
Import PDF tables
using OfficeIMO.Excel.Pdf;
var results = PdfExcelTableConverterExtensions.SavePdfTablesAsExcel(
"statement.pdf",
"statement-tables.xlsx");
foreach (var table in results) {
Console.WriteLine($"{table.SheetName}: page {table.PageNumber}");
}
Import only selected PDF pages
using OfficeIMO.Excel.Pdf;
using OfficeIMO.Pdf;
var results = PdfExcelTableConverterExtensions.SavePdfTablesAsExcel(
"bank-statement.pdf",
"bank-statement-q1.xlsx",
new PdfExcelTableImportOptions {
PageRanges = new[] { new PdfPageRange(1, 3) },
MaxRows = 250
});
Console.WriteLine($"Imported {results.Count} table(s).");
What it maps
- Workbook sheets, selected sheet lists, visible used ranges, print areas, page setup, margins, orientation, and worksheet page breaks.
- Repeated print-title rows, headers, footers, page/date/time/sheet/workbook tokens, and supported header/footer images.
- Cell display values, common number formats, fills, font emphasis, alignment, borders, merged cells, links, row heights, column widths, conditional fills/data bars/icons, and table layout primitives.
- Supported worksheet images and common chart snapshots through shared OfficeIMO drawing primitives.
- Conversion warnings through
ExcelPdfSaveOptions.WarningsandExcelPdfSaveOptions.ConversionReport.
Boundaries
- Workbook reading stays in
OfficeIMO.Excel. - PDF layout and writing stay in
OfficeIMO.Pdf. - This package should remain a translation adapter, not a second PDF engine.
- Fidelity gaps should be documented as warnings or deeper current-state notes, not hidden in marketing text.
Related packages
- OfficeIMO.Excel - Excel workbook model.
- OfficeIMO.Pdf - PDF engine.
- OfficeIMO.Html.Pdf - HTML/PDF bridge.
Targets and license
- Targets:
netstandard2.0,net8.0,net10.0. - License: MIT.
- Repository: EvotecIT/OfficeIMO
| 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.Excel (>= 0.6.46)
- OfficeIMO.Pdf (>= 0.1.41)
-
.NETStandard 2.0
- OfficeIMO.Excel (>= 0.6.46)
- OfficeIMO.Pdf (>= 0.1.41)
-
net10.0
- OfficeIMO.Excel (>= 0.6.46)
- OfficeIMO.Pdf (>= 0.1.41)
-
net8.0
- OfficeIMO.Excel (>= 0.6.46)
- OfficeIMO.Pdf (>= 0.1.41)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on OfficeIMO.Excel.Pdf:
| Package | Downloads |
|---|---|
|
Ank.DocToolkit
Convert HTML to DOCX and PDF, and open/edit DOCX, XLSX and PPTX - pure managed, no native binaries, no browser, no LibreOffice. Runs on Linux. |
|
|
OfficeIMO.OpenDocument.Pdf
Direct loss-aware OpenDocument text, spreadsheet, and presentation to PDF adapters. |
|
|
OfficeIMO.OpenDocument.Ods.Pdf
Bidirectional, loss-aware ODS and PDF conversion through the Excel semantic engine. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 3.2.0 | 529 | 8/7/2026 |
| 3.1.1 | 86 | 8/7/2026 |
| 3.1.0 | 78 | 8/6/2026 |
| 3.0.3 | 163 | 7/27/2026 |
| 3.0.2 | 137 | 7/26/2026 |
| 3.0.1 | 405 | 7/26/2026 |
| 3.0.0 | 428 | 7/20/2026 |
| 2.0.1 | 274 | 7/14/2026 |
| 2.0.0 | 95 | 7/14/2026 |
| 1.0.15 | 248 | 7/9/2026 |
| 1.0.14 | 289 | 7/8/2026 |
| 1.0.13 | 474 | 7/5/2026 |
| 1.0.12 | 211 | 7/4/2026 |
| 1.0.11 | 230 | 6/27/2026 |
| 1.0.10 | 117 | 6/27/2026 |
| 1.0.9 | 409 | 6/24/2026 |
| 1.0.8 | 161 | 6/23/2026 |
| 1.0.7 | 287 | 6/21/2026 |
| 1.0.6 | 152 | 6/16/2026 |
| 1.0.5 | 315 | 6/16/2026 |