C#: Online Guide
How To: PDF SDK
Basic SDK Concept
  |  
Home ›› XDoc.PDF ›› C# PDF: Basic SDK Concept

How to C#: Basic SDK Concept of XDoc.PDF


Introductions to Classes and APIs Included in XDoc.PDF for C# Programming




C#.NET PDF document SDK, RasterEdge XDoc.PDF is a mature and reliable third-party document imaging toolkit, designed particularly for manipulating and managing single-page and multi-page PDF document. This PDF document SDK provides Visual C#.NET developers with various classes to convert, process, edit, protect, and annotate PDF document from local file or byte stream in C#.NET class applications.


This guide page provides C# users with detailed explainations for basic SDK concepts of XDoc.PDF, which include main functionality, corresponding programming classes and usage. Please see details as below.


Functionality and Classes


Classes Usage




How to C#: XDoc.PDF Functionality & Classes



The main functionality of XDoc.PDF for .NET can be divided into nine aspects. Please see detailed introductions and respective C#.NET programming classes.


PDF Convert


C# programmers can convert Word, Excel, PowerPoint Tiff, Jpeg, Bmp, Png, and Gif to PDF document. Conversely, conversion from PDF to Word (.docx) and raster images are also supported.


  Class: PDFConverter


  Class: ImageConvertOp


  Class: DocumentConvertOp


File & Page Process


Programmers can also perform various PDF file and page editing in C# project. For example, you may easily create, load, combine, and split PDF file(s), and add, create, insert, delete, re-order, copy, paste, cut, rotate, and save PDF page(s), etc.


  Class: PDFDocument


  Class: PDFPage


Text Process


Following classes will be used in your program. And PDF file text processing like text writing, extracting, searching, etc., are easy to be implemented.


  Class: PDFTextHandler


  Class: PDFTextMgr


Image Process


If you want to process images contained in PDF document, the following C#.NET classes will be applied. In general, image extraction, editing, drawing, and compressing are supported.


  Class: PDFImageHandler


  Class: PDFImage


Document Protect


You may add PDF document protection functionality into your C# program. To be specific, you can edit  PDF password and digital signature, and set PDF file permission.


  Class: PasswordSetting


  Class: PDFDigitalSignatureHandler


Hyperlink Edit


XDoc.PDF for .NET allows C# developers to edit hyperlink of PDF document, including editing PDF url links and quick navigation link in bookmark/outline.


  Class: HyperlinkEntry


Annotation


Various PDF annotation features can be integrated into your C# project, such as annotation creating, deleting, modifying, importing, exporting, and so on.


  Class: PDFAnnotHandler


  Class: IPDFAnnot


Metadata


XDoc.PDF for .NET supports editing PDF document metadata, like Title, Subject, Author, Creator, Producer, Keywords, Created Date, and Last Modified Date.


  Class: PDFMetadata


Thumbnail


You can generate thumbnail image(s) from PDF file for quick viewing and further manipulating.


  Class: PDFDocument




How to C#: XDoc.PDF Classes Usage



RasterEdge XDoc.PDF for .NET provides users with various robust C#.NET classes for high performance PDF document manipulations. We will explain all of them in this part.


PDFDocument


The PDFDocument class presents a PDF file and provides the properties, methods and events necessary to load a PDF document from file or query data and save the PDF document.


PDFPage


The PDFPage class presents a single page in a PDFDocument object and provides the properties and methods to process the data of a page.


PDFContext


The PDFContext class encapsulates a list of drawing methods to build a new PDF file.


PDFConverter


This class provides APIs for converting PDF files to other file formats.


ImageConvertOp


This class configures the conversion from a PDF file to an image file.


DocumentConvertOp


This class configures the conversion from a PDF file to a document file.


PDFTextHandler


This class is used to extract text manager (PDFTextMgr) from the document with options.


PDFTextMgr


This class provides APIs to manipulate text contents in a PDF document.


PDFImageHandler


This class provides APIs for manipulating image contents in a PDF page.


PDFImage


This class describes an image object in a PDF page.


PasswordSetting


This class represents the password settings of a document.


PDFDigitalSignatureHandler


This class provides APIs for handling digital signature in a PDF document.


HyperlinkEntry


This class describes a hyperlink entry in the document.


PDFAnnotHandler


This class provides APIs to manipulate PDF annotation items in a PDF page.


IPDAnnot


This abstract class describes a PDF annotation item in a page.


PDFMetadata


This class describes metadata information of a PDF document.


OutLines


This class describes bookmarks in a PDF document.