Skip to main content
OfficeIMO Docs Search documentation/

Create, inspect, transform, render, sign, and validate PDF documents with OfficeIMO.Pdf.

Install

dotnet add package OfficeIMO.Pdf

OfficeIMO.Pdf is the first-party PDF engine used by the OfficeIMO conversion packages. Use it directly for authored PDFs and PDF operations; add a format adapter such as OfficeIMO.Word.Pdf when the source is another document model.

Create a PDF

using OfficeIMO.Pdf;

PdfDocument.Create()
    .Meta(title: "Status report", author: "OfficeIMO")
    .H1("Status report")
    .Paragraph(p => p.Text("Created with ").Bold("OfficeIMO.Pdf"))
    .Table(new[] {
        new[] { "Area", "Status" },
        new[] { "Build", "Ready" }
    })
    .Save("status.pdf");

Pick the correct package

Starting pointPackage
Author or edit PDFOfficeIMO.Pdf
Word documentOfficeIMO.Word.Pdf
Excel workbookOfficeIMO.Excel.Pdf
PowerPoint presentationOfficeIMO.PowerPoint.Pdf
HTMLOfficeIMO.Html.Pdf
MarkdownOfficeIMO.Markdown.Pdf
OpenDocumentOfficeIMO.OpenDocument.Pdf

Use the PDF API reference for type-level detail. For conversion, inspect returned diagnostics before accepting approximated or omitted features.