OfficeIMO.Publisher.Pdf 3.5.1

Prefix Reserved
dotnet add package OfficeIMO.Publisher.Pdf --version 3.5.1
                    
NuGet\Install-Package OfficeIMO.Publisher.Pdf -Version 3.5.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="OfficeIMO.Publisher.Pdf" Version="3.5.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="OfficeIMO.Publisher.Pdf" Version="3.5.1" />
                    
Directory.Packages.props
<PackageReference Include="OfficeIMO.Publisher.Pdf" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add OfficeIMO.Publisher.Pdf --version 3.5.1
                    
#r "nuget: OfficeIMO.Publisher.Pdf, 3.5.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package OfficeIMO.Publisher.Pdf@3.5.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=OfficeIMO.Publisher.Pdf&version=3.5.1
                    
Install as a Cake Addin
#tool nuget:?package=OfficeIMO.Publisher.Pdf&version=3.5.1
                    
Install as a Cake Tool

OfficeIMO.Publisher.Pdf

Convert recovered Publisher pages to PDF through the shared OfficeIMO drawing and PDF engines. The adapter references OfficeIMO.Publisher and OfficeIMO.Pdf; it does not decode .pub records itself or require Publisher to be installed.

using OfficeIMO.Publisher;
using OfficeIMO.Publisher.Pdf;

var publication = PublisherDocument.Load("brochure.pub");
var converted = publication.ToPdfDocumentResult();

foreach (var diagnostic in publication.ReadReport.FidelityDiagnostics)
    Console.WriteLine($"{diagnostic.LossKind}: {diagnostic.Message}");

var saved = converted.Save("brochure.pdf");
Console.WriteLine($"Saved: {saved.Succeeded}, fidelity loss: {saved.HasLoss}");

Document pages retain publication order and physical dimensions with zero added margins. Master definitions are already applied by the Publisher reader and do not become separate PDF pages. Text and simple shapes remain drawing elements; pictures use the PDF engine's managed image handling.

ToPdfDocumentResult() returns the existing PdfDocumentConversionResult with PublisherReadReport in SourceConversionReports. The PDF report captures rendering and serialization findings. Inspect source and output reports before accepting a conversion; successful saving does not imply native fidelity.

ToPdfDocument(), ToPdfBytes() and SaveAsPdf() provide convenience routes. Path and caller-stream saves return PdfSaveResult; stream output remains open. All routes accept cancellation and optional PdfOptions, which are cloned for the operation. Refer to the Publisher support contract for profile and reconstruction limits, including linked text flow and native metafile placeholders.

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.Publisher.Pdf are published in the generated operation contract.

Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on OfficeIMO.Publisher.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.

Version Downloads Last Updated
3.5.1 140 10/16/2026