devexpress-office-file-api-pdf

Create, edit, merge, sign, and extract content from PDF documents in .NET applications.

Updated Dec 11, 2025
One-click install
npx skills add https://github.com/AleksaRistic216/dotnet-playground --skill devexpress-office-file-api-pdf-aleksaristic216
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: devexpress-office-file-api-pdf
Source: https://github.com/AleksaRistic216/dotnet-playground/tree/main/.github/skills/office-file-api/devexpress-office-file-api-pdf
Command: npx skills add https://github.com/AleksaRistic216/dotnet-playground --skill devexpress-office-file-api-pdf-aleksaristic216

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires DevExpress.Document.Processor, DevExpress.Pdf.SkiaRenderer, and includes references (resource) components.

What problem does it solve? Building PDF functionality into .NET applications without Adobe Acrobat requires handling document generation, form filling, digital signatures, and content extraction, which is complex to implement from scratch. ## Core Features & Use Cases - PDF Generation & Graphics: Create new PDFs from scratch using the PdfGraphics drawing API to render text, images, shapes, and hyperlinks on pages. - Document Processing: Merge, split, rotate, and reorganize pages of existing PDFs, convert to PDF/A compliance, and optimize file size. - Forms, Security & Extraction: Build interactive AcroForms, apply password protection and PKCS#7/PAdES digital signatures, add annotations, and extract text or images. - Use Case: A developer needs to generate monthly invoice PDFs in an ASP.NET Core app, merge them with existing reports, apply a digital signature, and password-protect the output before emailing it to clients. ## Quick Start Ask the assistant to create a .NET console app that generates a PDF with a title and colored rectangle using the DevExpress PDF Document API.

Frequently Asked Questions about devexpress-office-file-api-pdf

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a PDF file in C# with DevExpress?

Use PdfDocumentProcessor.CreateEmptyDocument to start a new file, draw content with PdfGraphics via CreateGraphicsPageSystem, then call RenderNewPage for each page. Install the DevExpress.Document.Processor NuGet package and add DevExpress.Pdf.SkiaRenderer on .NET 6+.

How do I merge multiple PDF files in .NET?

Create an empty document with PdfDocumentProcessor.CreateEmptyDocument, then call AppendDocument for each source PDF. AppendDocument copies pages along with bookmarks, forms, hyperlinks, and attachments, and the file is finalized when the processor is disposed.

Does the DevExpress PDF API work on .NET Framework?

Yes, it supports .NET Framework 4.6.2 and higher using GDI+ for rendering, so the DevExpress.Pdf.SkiaRenderer package is not required. On .NET 6 and later, Skia-based cross-platform rendering is used instead.

How do I digitally sign a PDF with a PFX certificate?

Use PdfDocumentSigner with a Pkcs7Signer created from your PFX file and password, then bind it to a signature field via PdfSignatureBuilder. PAdES-BES profiles, TSA timestamps, and deferred signing with Azure Key Vault are also supported.

Why does my generated PDF have blank pages?

Blank pages occur when graphics are drawn but RenderNewPage is never called on the PdfDocumentProcessor. Each page requires its own PdfGraphics instance followed by an explicit RenderNewPage call to append the rendered content.

Can I extract text from scanned PDF documents?

No, the PDF Document API extracts only programmatic text layers, not image-based content from scanned documents. For scanned PDFs, a separate OCR library is required to recognize text before extraction.