PDF File Processing API for .NET

Create, edit, protect and convert PDF documents to multiple formats within .NET-based applications without any Adobe Acrobat dependencies.

  Download Free Trial
Aspose.PDF for .NET

Aspose.PDF for .NET

 
  

Aspose.PDF for .NET is an advanced PDF Processing API for .NET Core to perform document management and manipulation tasks within cross-platform applications. API can easily be used to generate, modify, convert, render, secure and print PDF documents without using Adobe Acrobat. Moreover, API offers PDF compression options, table creation & manipulation, graph & image functions, extensive hyperlink functionality, stamp and watermark tasks, extended security controls and custom font handling.

Aspose.PDF for .NET supports popular file formats such as PDF, XFA, TXT, HTML, PCL, XML, XPS, EPUB, TEX and image formats as well as allows to create PDF documents directly through the API or via XML templates and can create forms or manage form fields embedded in the PDF documents.

  

.NET PDF API Features

 

 

Generate PDF documents using product API

 

Transform XSL-FO & XML to PDF

 

Convert PDF to Excel spreadsheets

 

Convert PDF to PowerPoint presentations

 

Convert PDF to Word document formats

 

Convert PDF to PostScript format

 

Add tables & Graph objects during PDF generation

 

Add, update, delete text & images from PDF documents

 

Insert, extract, append & concatenate PDF documents

Convert PDF to Word, PowerPoint & HTML Formats

With as little as 2 lines of code, you can implement robust PDF to Word, PDF to PowerPoint or PDF to HTML conversion features for your .NET applications.

Save PDF in different formats - C#

// load the file to be converted
var pdf = new Aspose.Pdf.Document(dir + "template.pdf");
// save in different formats
pdf.Save(dir + "output.docx", Aspose.Pdf.SaveFormat.DocX);
pdf.Save(dir + "output.pptx", Aspose.Pdf.SaveFormat.Pptx);
pdf.Save(dir + "output.html", Aspose.Pdf.SaveFormat.Html);

Furthermore, you can either transform each page of a PDF file to conventional raster & vector image formats such as BMP, JPEG, PNG, GIF, EPS, SVG or convert whole PDF to multi-page TIFF. You may also convert PDF files to XLS, EPS, SVG, XPS, LaTex, TXT and PDF/A format with ease.

Create & Manipulate PDF Documents On the Fly

Aspose.PDF for .NET offers the capability to generate PDF documents from scratch. You can use its API or transform images, XML, XSL-FO, HTML, SVG, PCL, XPS, EPUB or simple text files to PDF documents. Moreover, you can specify XMP metadata, author details, creator details and title information during the PDF generation.

Aspose.PDF for .NET is also 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 PDF documents or create N-up's (number of pages over the single page) and booklets.

Set Security Constraints for PDF Documents

Aspose.PDF for .NET offers the facility to encrypt and de-crypt PDF documents with either 40-bit,128-bit or 256-bit encryption, and provides the ability to 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 the digital certificate. You may specify the certificate level and set the graphical appearance of the signature as per application requirements.

Process PDF Form Fields

Aspose.PDF for .NET provides advanced features beyond simple form fields processing. With this single product, you get a bunch of features from the addition of form fields to advanced abilities such as dynamically rename, remove and copy form fields across the PDF documents, set JavaScript for the 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. You can also easily specify visual attributes such as field Alignment, BorderStyle, ButtonStyle, FontSize, TextColor, TextEncoding or define custom positioning to place the form fields at an absolute position within the document.

Aspose.PDF for .NET also supports importing & exporting form fields data from XML, FDF or XFDF files. Moreover, you can bind form fields with OLEDB or ODBCDB data sources. API also allows to import an image or barcode, get field data with rich text formatting or add submit button to post data to a specified URL.

Graph & 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 on disk, memory or web location, to PDF format. Along with conventional image types, CCITT (fax) images, multi-page TIFF images and transparent GIF images are also supported.

Convert PDF to CCITT4 compressed TIFF - C#

// load the PDF in PdfConverter
using (var converter = new Aspose.Pdf.Facades.PdfConverter())
{
    converter.BindPdf(dir + "template.pdf");
    // initiate conversion
    converter.DoConvert();
    // create TiffSettings & set compression type
    var settings = new Aspose.Pdf.Devices.TiffSettings()
    {
        Compression = Aspose.Pdf.Devices.CompressionType.CCITT4,
    };
    // save PDF as TIFF
    converter.SaveAsTIFF(dir + "output.tiff", settings);
}

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 while generating PDF documents or manipulating existing files.

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.

What People Are Saying

Don't just take our word for it. See what users have to say about Aspose.PDF APIs.

 
 
View Case Studies
  

Support and Learning Resources

 
  

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