The royalty-free PDF component to use if you need to create, read or manipulate PDF documents in your application or web service.
Docotic.Pdf Library is for .NET 2.0 and later frameworks. The library has no additional dependencies.
Read about trial mode restrictions
We put many hours of hard work into the library so you don't have to be a PDF guru to accomplish your PDF-related task.
Please take a look at what Docotic.Pdf can do for you. And please contact us if you need something else. We are open to your suggestions.Create PDF and PDF/A files
Latest Docotic.Pdf version is 3.7.4912Download (6.7 Mb)
Docotic.Pdf can create standards-compliant PDF files from scratch.
Simple yet powerful API of the library can be used to create PDF documents with beautiful graphics and text.
Docotic.Pdf library can open PDF files of any version (up to the latest published standard).
You can add new content to existing PDFs, add text and images to existing pages, fill in forms and otherwise update your files.
With the library you can optimize your PDFs created in other applications or by other libraries.
The library can remove unused objects, recompress images or pack low-level PDF objects into object streams for you.
You can greatly reduce size of the PDFs output by the library using various save options.
Produce PDF files optimized for fast web view with help of the library.
You can linearize files with any contents and they will open faster over the network or Internet connection.
You can extract text from PDF files using Docotic.Pdf library.
Text can be extracted from a page in a time or from whole document at once.
The library supports extraction of plain and formatted text. Additionally, you can extract separate words, chars or text chunks with their coordinates.
In case you need to perform a sophisticated analysis there is also the ability to extract text and image objects in one collection.
Extracted images can be saved as TIFF and JPEG images.
Library does not recompress images while extracting them. You will get images with the same quality as in PDF.
You can get information about where on a page images are actually drawn.
Docotic.Pdf can draw and print documents for you.
You can draw documents on any Graphics surface.
The library respects any existing transformations of output surface so you can setup any offset, scaling and rotation you need before drawing and printing.
The library contains group of methods that you can use to check if file, stream or byte buffer contain a password-protected PDF.
You can use these methods to check whether you need to provide a password before opening the file.
Docotic.Pdf library can open and create documents encrypted with standard encryption algorithms.
You can remove encryption from your PDF documents. And of course you can protect produced PDF files using RC4 40-bit, RC4 128-bit and AES 128-bit encryption algorithms.
You can setup what permissions you want to grant to users of you PDF files.
All permissions defined by the latest PDF standard are supported.
Take a look at short sample that shows how to setup user access permissions for a PDF document.
You can add rich interactive forms to your PDFs.
Docotic.Pdf library will help you to fill existing PDF forms.
You can read values of any form elements.
The library provides convenient method you can use to access form elements by their names.
You can easily add bookmarks to PDF files opened or created by the library.
Different colors and text styles can be specified for each bookmark item.
For example, you can make PDF viewer application execute your code when document is opened or when a button in PDF is clicked.
Docotic.Pdf library can be used to add text annotations (sticky notes) to documents.
Seven predefined icon can be used for text annotations. Any sticky note can contain Unicode text. You can specify any color for annotations text and background.
Docotic.Pdf library can compare PDF documents for you.
You can compare different versions of a document using one of the DocumentsAreEqual methods.
These methods compare all PDF objects ignoring some properties like trailer IDs and creator info.
All standard properties (author, creator, keywords, producer, subject and title) can be read and changed.
Any XMP schema can be read and changed. Use Metadata property to access custom metadata properties, well-known schemas like XMP Core / XMP Basic and Dublin Core, and other schemas.
With help of the library you can easily setup how your PDFs should be displayed by a PDF viewer application
You can specify what page should be displayed when document is opened, which UI elements of a viewer application should be shown or hidden, how pages of your PDFs should be laid out on screen, and what else should be displayed along with pages.
The library can read and create PDF page labels.
Using methods and properties of Docotic.Pdf you can add different kinds of labels to pages of your PDFs. You can mark pages with roman numerals or uppercase letters, for example.
You can specify any size in pixels for any page in your documents. Or you can use one of predefined page sizes like A4, Legal or Folio.
Additional properties like orientation of a page (portrait or landscape) and rotation can also be easily set.
Please take a look at the sample that shows how you can setup various PDF page properties.
Docotic.Pdf library can be used to split and merge PDF documents.
You can add images in GIF / TIFF / PNG / BMP and JPEG formats to PDF documents.
The library will try to preserve format and color space of an image, if possible.
Multipage images are fully supported too. You can add just one page from a multipage image to a PDF document
Docotic.Pdf library can be used to optimize images in PDF documents.
You can recompress existing images and any images you want to add to a PDF document.
Images can be recompressed using JPEG, CCITT Group 3 and 4 (fax) and zip/deflate compression algorithms or completely uncompressed.
The library supports images produced by legacy hardware like scanners and faxes.
In most cases you'll be able to use non-standard images that cannot be properly opened by image-related methods and classes in .NET framework.
Docotic.Pdf can even use partially broken images in some cases.
The library can use color profiles to create calibrated colors.
Semi-transparent colors and PDF form XObjects can be used to achieve nice visual effects.
You can specify how semi-transparent objects will blend on a canvas using set of predefined blend modes.
You can use XObjects to create watermarks, backgrounds or repeatable items for pages in your documents
Each XObject has its own canvas, so you can create XObjects as complex as regular PDF pages.
The library can add text to documents that looks exactly as you want it to.
You can position your text with high precision.