.NET APIs to manipulate PDF documents

Create, read, edit PDF files and convert to various file formats. Protect, sign or print PDF documents without installing Adobe Acrobat.

  Download Free Trial
Aspose.Pdf for .NET

Aspose.Pdf for .NET


Aspose.Pdf for .NET is a set of PDF APIs for document creation and manipulation that enables your .NET applications to read, write and manipulate existing PDF documents without using Adobe Acrobat. It also allows you to create forms and manage form fields embedded in a PDF document.

Aspose.Pdf for .NET offers an incredible wealth of features including:

  • PDF compression options
  • Table creation and manipulation
  • Support for graph objects
  • Extensive hyperlink functionality
  • Extended security controls
  • Custom font handling
  • Integration with data sources
  • Add or remove bookmarks
  • Create table of contents
  • Add, update, delete attachments and annotations
  • Import or export PDF form data
  • Add, replace or remove text and images
  • Split, concatenate, extract or insert pages
  • Transform pages to image
  • Print PDF documents

Aspose.Pdf for .NET supports the creation of PDF files directly through its API or via XML templates and is incredibly simple to use. The product comes with fully featured demos written in C# and Visual Basic and comprehensive documentation to help get you started. Aspose.Pdf for .NET is a sophisticated product and integrates perfectly with your application to add PDF capabilities.


Advanced PDF Processing API Features



Create new PDF documents using product API


Transform XML and XSL-FO document into PDF


Convert SVG files to PDF or PDF to SVG format


Convert PDF document to Excel workbook format


Convert PDF to PPTX format


Convert ePUB files to PDF or PDF files to .ePUB format


Convert PDF file to .ps format


Convert XPS file to PDF or PDF to XPS format


Convert an image file to PDF or PDF file to Image format


Convert an HTML file to PDF or PDF files to HTML format


Convert PDF file to DOC/DOCX format


Add tables and Graph objects during PDF generation


Add/update/delete text and images from PDF documents


Insert, extract, append, concatenate PDF documents


Split PDF document into single page documents


Add headers and footers during PDF generation


Create, import, export and delete bookmarks from PDF document


Add headings and Table of contents during PDF creation


Add, modify, extract and delete attachments and Annotations from PDF creation


Add, update, remove security constraints from PDF document


Encrypt, Decrypt, add and remove passwords information from PDF document


Create, update, remove, import/export form field data from FDF, XML and XFDF files


Add and remove watermarks from PDF document


Set page margin, size, orientation, transition type, zoom factor and appearance of PDF document

PDF Document Creation

Aspose.Pdf for .NET lets you create new PDF files as well as editing existing PDF documents. With the Aspose.Pdf API you can transform image, XML, XSL-FO, HTML, SVG, PCL, XPS, EPUB or simple text files into PDF documents. You can specify XMP metadata, author details, creator details, and title information during PDF generation. The product allows you to generate PDF/A-1a or PDF/A-1b documents.

PDF Document Manipulation

Aspose.Pdf is a good choice when you need to edit or manipulate existing PDF documents. It allows you to concatenate or merge two or more PDF documents, append new pages to an existing PDF file, extract pages, insert pages at a particular location in an existing PDF file, split one PDF into two or more PDF documents or create N-up's (number of pages over single page) and booklets.

Rendering PDF Files

With Aspose.Pdf for .NET, transform each page of a PDF file into conventional image formats such as BMP, JPEG, PNG, GIF or transform it into multipage TIFF. Render PDF file as XLS, EPS, SVG, DOC/DOCX, XPS, LaTex, TXT and PDF/A format. You can also add XMP metadata information such as CreateDate, CreatorTool, ModifyDate and MetaDataDate to PDF documents or change existing meta information like title, author name, header, keywords, subject etc.

Robust PDF Security Features

Aspose.Pdf for .NET offers the facility to encrypt and decrypt PDF documents with either 40-bit,128-bit or 256-bit encryption and also specify user passwords for further PDF security. Content modification in PDF documents such as copying content, printing the file, completing form fields, degraded printing, annotation modification as well as PDF document assembly can also be restricted.

Aspose.Pdf for .NET allows you to further improve PDF security mechanism by using PKCS#1, PKCS#7 and PKCS#7 detached signature types and with the use of digital certificate. You may also specify the certificate level and set the graphical appearance of the signature.

Form Field Processing Within PDF Documents

Aspose.Pdf for .NET provides advanced features for form fields processing. With this single product, you get the capabilities to add form fields to the PDF document or you can programmatically rename, remove and copy form fields across the PDF documents, set JavaScript for push button and flatten form fields. This product is also great when it comes to specifying field attributes such as READ_ONLY, REQUIRED, NO_EXPORT, HIDDEN, NOZOOM or you can easily specify visual attributes such as field Alignment, BorderStyle, ButtonStyle, FontSize, TextColor, TextEncoding or define custom positioning to place form fields at absolute position within document.

Import or export form fields data from XML, FDF or XFDF files or you can bind form fields with OLEDB or ODBCDB data source. You can also import an image or barcode, get field data with rich text formatting or add submit button to post data to a specified URL.

Adjusting Document Sections And Paragraphs Addition

Aspose.Pdf for .NET allows you to specify page size and the page margin size of each section within a document. Page background images for each section, page header and footer sections can also be set. Unique ID's can be assigned to each section of the document, and Aspose.Pdf for .NET facilitates the addition of multiple paragraphs to each and every section of the document. You can also specify the exact margin of each paragraph.

Other options include: create, update or delete bookmarks, create or delete file attachments and annotations, add floating box with absolute positioning rather than flow layout and much more.

Graph And Imaging Capabilities

Aspose.Pdf for .NET provides support for many different types of graphs: graphs can be drawn on any page location specified by coordinates and existing graphs can be rotated and scaled to suit your requirements. You may also try converting images residing over disk, memory or web location into PDF format. Along with conventional image types, CCITT (fax) images, multi-page TIFF images and transparent GIF images are also supported.

Place image in its original size of specify custom dimensions and place it inside main document section, inside a table cell or in the header or footer sections.

Aspose.Pdf for .NET also allows you to add, replace, extract or delete images already present in a PDF document. You may also add images as watermark when generating a new PDF document or place one in an existing file.

Add Tables to PDF Documents

Aspose.Pdf for .NET allows you to add tables to PDF documents, where you can specify the table border style, margin and padding information, column widths and spanning options, control row splitting attributes, create nested tables, clone table objects or simply import data from an object array, data table or data view.

Default cell formatting can be applied to entire table cells, create individual rows and columns, add repeating rows or create nested tables. Tables can be placed inside the main PDF document or inside the header and footer sections.

Hyperlink And Attachments Features

Aspose.Pdf for .NET allows you to add hyperlinks pointing to other pages within same PDF, hyperlinks to pages in other PDF documents, hyperlinks to non-PDF files or you may add hyperlinks towards any web location. Along with hyperlink creation, get the capabilities to extract hyperlinks from a PDF document.

Get the power to add, update, import, export or delete attachments and annotations. Files of any type can be attached to a PDF document and annotation types such as polygon, polyline, pop-up, rubber stamp, caret, free text and many more can be added. You may also specify icon type, coordinates and opacity values.

Text Formatting Features within PDF Documents

With Aspose.Pdf for .NET, you can apply text alignment, that is right, left, center, justify or full justify, place contents in right-to-left languages such as Arabic, Hebrew and Urdu, create left hanging text paragraphs, preserve white space in text, set custom tab stops and define text formatting for all segments of a document including changing text to underline, overline or strikeout.

Along with the ability to specify horizontal alignment of text, you can also specify vertical alignment of text segments such as baseline or topline. Text foreground and background colors can be changed, use replaceable symbols which allow you to change the corresponding text content at runtime. Support for PostScript Type1, TrueType and other PDF core fonts is available in Aspose.Pdf for .NET.

This product is great when it comes to text extraction, text replacement and insertion of new text inside an existing PDF document.

Adobe Acrobat Automation – Not Needed

Aspose.Pdf for .NET APIs are built using managed code that can be installed and deployed as a single .NET assembly without needing Adobe Acrobat installed. It is easier and flexible to use compared to Adobe Acrobat automation.


Aspose.Pdf offers individual PDF APIs for other popular development environments as listed below: