PDF Document API
- 4 minutes to read
The PDF Document API allows you to perform various scenarios with PDF documents in code, such as merging, splitting, editing, creating, password protecting, digitally signing and much more using the straightforward API.
Getting Started
In this section, you will get acquainted with the PDF Document API.
-
Describes the first steps to create a PDF processing console application in Visual Studio.
-
Shows all available demos related to DevExpress PDF Document API.
-
Contains task-based examples for the PDF Document API.
Coordinate Systems
The topic in this section:
-
Describes coordinate systems used in the PDF Document API.
Document Generation
The topic in this section:
-
Describes how to generate a document layout from scratch.
PDF Graphics
This section contains the following topics:
-
Contains basic information on PDF Graphics API.
-
Create PDF Graphics context.
-
Draw your own graphics into PDF graphics context using the following elements:
- Image
- String
- Graphics (lines, Bezier curves, polygons, ellipses and paths).
Adding Graphics Content to a Page
Add created graphics content to a page.
Adding Interactive Form Fields
Add interactive form fields to a document.
Document Manipulation
This section contains all the required information related to programmatic 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 in a document.
Additional Content
The topics in this section.
-
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
This section contains all the required information related to an interactive form in a document.
-
Fill existing interactive forms.
-
Flatten interactive forms in a document.
-
Create interactive form fields and add them to a document.
-
Remove interactive form fields from a document.
Export and Import Interactive Form Data
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.
The topics in this section contain all the required information related to text markup annotation manipulation in a document.
-
Create markup annotations for a text and add them to a page.
-
Change existing text markup annotations in a page.
-
Remove text markup annotations from a page in a document.
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. In addition, you can optionally 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.
Extracting Text from a Document
Extract text from documents.
Extracting Images from a Document
Extract images from documents.
Searching for Text in a Document
Find text in documents.
Printing
This section describes how to print a document and customize print settings.
-
Print any page in a document.
Export a Document to a Multi-Page Tiff Image
This section describes how to export document pages to a multi-page tiff image.
Export a PDF Document to a Multi-Page Tiff
Export pages to a multi-page tiff image.