Skip to main content
A newer version of this page is available. .

PDF Document API

  • 2 minutes to read

The PDF Document API allows you to perform various scenarios with PDF documents in code. Use the straightforward API to merge, split, create, edit, password-protect, and digitally sign PDF files.

Important

You need a license to the DevExpress Office File API or DevExpress Universal Subscription to use this component or library in production code. Refer to the DevExpress Subscription page for pricing information.

Document Generation

  • Generate document layout from scratch.

PDF Graphics

  • Create PDF graphics context;
  • Draw your own graphics into PDF graphics context using images, string values and graphics (lines, Bezier curves, polygons, ellipses and paths);
  • Add graphics content to a new or existing page.

Document Manipulation

  • Merge different documents into a single PDF;
  • Add a new page to a document, copy pages from one document to another PDF, delete or rotate a page.

Additional Content

  • Create bookmarks from scratch, change bookmark attributes (e.g. rename a bookmark, change its destination or font style) and delete bookmarks.

  • Add a hyperlink to a page or URI.

  • Attach any number of files to the PDF document and access attached files.

Interactive Forms

  • Create interactive form fields and add them to a document.
  • Fill and flatten and remove existing interactive forms.
  • Export and import interactive form data in various formats: FDF, XFDF, XML and TXT.

Text Markup Annotations

The PDF Document API component provides API that can be used to manipulate (create, modify or remove) text markup annotations in pages.

Document Security

This section describes how to use save options to protect a document with a password and sign the document with a digital signature.

  • Protect a document using both the owner and user passwords. Specify user permissions for printing, data extraction, document modification and interactive operations.
  • Apply a digital signature to a document.

Content Extraction

This section describes how to get content (an image, text) from a document.

  • Extract text and images from documents.
  • Search text in documents. Find text in documents.

Printing and Export (Windows OS only)

  • Print the whole document or separate pages.

  • Export pages to a multi-page tiff image.