Apitron PDF Kit

Revision as of 18:17, 5 February 2018 by Adminko (talk | contribs)
Jump to: navigation, search


Apitron PDF Kit is a .NET component that provides API for creating, editing, digitally signing and manipulating the content of PDF documents. It supports adding text, images, drawings, annotations and basically all available content types defined by the PDF specification. The library contains 100% managed code and is available for any .NET framework version starting from 2.0. Xamarin/MONO, Silverlight and Windows Phone versions are provided in addition to the main builds.

For downloading, please visit the Apitron PDF Kit product download page.

Supported PDF versions and subtypes

All versions can be opened and manipulated, including the documents created using the newest PDF 2.0 specification. Files can be normal, linearized, password-protected, signed, incrementally updated. PDF/A is supported as well, namely PDF/A-1A, PDF/A-1B, PDF/A-2A, PDF/A-2B, PDF/A-2U (unicode).

Support for digital signatures

Digital signing of PDF documents is implemented with extensibility in mind. So in addition to providing the own implementation for the common standards, the product supports 3d party signing implementations that makes it suitable for using hardware certificate storages like Suisse ID, Bank ID and others issued by governments, affiliated parties or large corporations which integrate with target OS using custom Crypto API drivers or tokend implementations. OCSP responses and CRLs combined with timestamps from 3d party servers can be embedded as well.


The Apitron PDF Kit library can be used to create cross-platform desktop, mobile, web and cloud solutions. Using this component you'll be able to create applications or services for:

  • Windows desktop systems (Windows Forms, WPF, Silverlight, console apps, windows services)
  • Windows Phone 8.1\10, Windows Store and Windows Runtime, Windows 10 UWP
  • Xamarin.Android, Xamarin.iOS, OS X (using MONO or Xamarin)
  • Azure Web or Worker Roles, Azure Web Jobs
  • Any system where .NET/MONO implementation exists


  • Extract, modify and add graphics (text, images, drawings)
  • Split or merge PDF documents
  • Fill or create PDF forms, FDF support
  • Create multi-layer PDF documents with optional content groups ( OCG )
  • Add or remove document fields
  • Use bidirectional or right-to-left text to create page content
  • Examine resources within a document - fonts, embedded files
  • Digitally sign and validate existing signatures on PDF documents
  • Search text in PDF documents and extract intelligently formatted text
  • Protect document with a password or set security permissions
  • Work with navigation objects, e.g. create bookmarks or links
  • Annotate PDF documents using all available annotation types
  • Add all available PDF actions, e.g. Javascript, GoTo, URI, Launch, Named etc.
  • Use all font formats defined by specification: TrueType, OpenType,Type3, Type1, Type0
  • Use custom fonts and automatically create and embed font subsets
  • Use the following colorspaces for drawing: Device (RGB, CMYK, GRAY); CIE-based (CalRGB, CalGRAY, Lab, ICCBased - via ICC color profile); Special (Pattern, DeviceN, Indexed, Separation)
  • Quickly create PDF documents from a list of images or scans
  • Implement custom html-like markup to PDF conversion
  • Generate PDF files using external xml templates
  • Save document to other “subtypes” of PDF – Linearized or PDF/A
  • Use external signer implementations based on Hardrware Secure Modules (HSM) or signing certificates stored on USB sticks or other removable media.
  • Portfolio PDF
  • Custom encryption filters for data streams

API highlights

The library can be divided into two large parts, demonstrating different approaches to PDF creation and manipulation. Being independent from each other they share several common objects and can be used together to achieve a complex result.

FixedLayout API

This part is built around the FixedDocument class and provides “classic” approach for PDF manipulation. It has 100% mapping to spec-defined entities and can be used for every task where the developer needs precise control over the things which are to be put on PDF page and the way it should be done. The developer can get access to all drawing commands and content of the page; everything in PDF document can be manipulated using this API. See the article Fixed layout API for the details.

FlowLayout API

This part is built around the FlowDocument class and provides innovative and flexible approach for generating PDF documents using styles-based, html- and css- like document model. Developers can use it when they need automatic layout rules applied to the content blocks. The developer doesn't set the explicit position of content elements on page, but rather control the layout behavior using built-in styling mechanism similar to how the CSS is used with HTML. Content for the document has to be built using predefined content elements, e.g. Textblock, Image, Grid etc. while the flow layout engine performs automatic pagination or splitting if necessary. See the article Flow layout API for the details.

Scalability and development process

File processing and parsing is being done using all available processor cores, so applications are scaling well when you increase the processing power. It's especially important for server-side/cloud solutions. The build system use continuous integration including automated testing environment running thousands of test every day, and ensuring the component’s solidness and reliability. It helps the dev team to quickly track and fix possible problems before the new version is released. Customers' contribution is always welcome, so if you find any problems don't hesitate to contact us with your suggestions.