Split PDF Documents in C#.NET

Split PDF Documents into Smaller PDF Files with C# Programming
This PDF Splitting Library for C#.NET Evaluation enables you to split PDF documents free of charge. It is surely an effortless PDF tool for splitting PDF documents by page. After downloading the C# PDF Splitting Control, all you need to do is selecting the PDF document that you want to split on your computer and referring to the step-by-step instruction below. An easy-to-use interface permits you to split PDF files simply by couple of clicks.
This C#.NET PDF Splitting SDK can be used to split the input PDF documents into single page PDF files or split a lot of PDF files to one-page PDF files at one time. It also permits developers to split any PDF file into more compact ones by extracting any specific pages through the multi-page PDF file and delete unwanted blank pages from input PDF documents.
C#.NET Requirements for Splitting PDF Documents
To split PDF documents in C#.NET with our PDF Splitting Library for C#.NET Evaluation, you may make sure that you have installed one of the following .NET Frameworks, Visual Studios and Operating Systems.
  • NET Framework 2.0, 3.0, 3.5 or 4.0
  • Microsoft Visual Studio 2005, 2008 or 2010
  • Windows Vista, Windows XP, Windows 7, Windows Server 2000, etc
Split PDF Documents in C# Programming
Our C#.NET PDF Splitting SDK has a user-friendly interface that allows users to arrange, rearrange, organize and manage PDF documents based on your needs. Users are able to split PDF document by specific page ranging at one time. The quality of generated PDF document is guaranteed by pertaining the links, bookmarks and annotations. See detailed user guide below to split PDF documents in C# programming.
  • Go to our website to download the C#.NET PDF Splitting Library evaluation package.
  • Simply create a C#.NET project in your Visual Studio.
  • Activate YiiGo .NET Imaging License and copy the generated txt file to your C#.NET project folder.
  • Locate "YiiGo.Imaging.Basic.dll" and "YiiGo.Imaging.PDF.dll" from the bin folder in the unzipped evaluation package.
  • Split PDF documents using the following C# demo code.
     using YiiGo.Imaging.Basic;
using YiiGo.Imaging.Basic.Core;
using YiiGo.Imaging.Basic.Codec;
using YiiGo.Imaging.PDF;

namespace YG__Test
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}

public static string FolderName = "c:/";

private void button1_Click(object sender, EventArgs e)
{
string fileName = FolderName + "Sample.pdf";

YGDocument doc = YGFile.OpenDocumentFile(fileName, new PDFDecoder());
//use PDFDecoder open a pdf file List<BaseDocument> baseDocs = doc.SplitDocument(1);

int index = 0;

foreach (BaseDocument baseDoc in baseDocs)
{
// YGImage reimage = (YGImage)baseDoc.GetPage(0).ToImage();
index++;

YGFile.SaveDocumentFile((YGDocument)baseDoc, "c:/reDoc" + index + ".pdf", new PDFEncoder());
}

}

}
}
There are many other C#.NET PDF programming guides provided on our website. Here I want to recommend a specific PDF printing guide in C# class to you. This free and detailed guide aims to assist in C#.NET PDF printing. If you have more C#.NET PDF processing demands, you can refer to other online guides for different applications.
What is C# PDF
PDF is abbreviated from Portable Document Format which is a file format used to represent documents in a manner independent of application software, hardware, and operating systems. Invented by Adobe Systems and perfected over 20 years, Portable Document Format (PDF) is now an open standard for electronic document exchange maintained by the International Organization for Standardization (ISO). When converting documents, forms, graphics and web pages to PDF, they just look like what they would be if printed.
A PDF file is often a combination of vector graphics, text and bitmap graphics. Several applications embracing the PDF standard are now available as an online service including PDF viewing and storing, online editing and PDF conversion. Many commercial offset printers have accepted the submission of press-ready PDF files as a print source. The submission of press-ready PDF files is a replacement for the problematic need for receiving collected native working files.
PDF can be used for creating electronic documents. More and more applications can read PDF files. Advertisements are often exchanged as PDF files and PDF/X is a special version of PDF that is optimized for this type of application. PDF can also be applied to archive data. There are tools on the market that allow you to index PDF files so you can create and search an electronic library of PDF files. There is even a special version of PDF, called PDF/A, that is optimized for the long term preservation of electronic documents.
Products
Other Plugins
Image Viewer CoreBarcode PluginPDF Read & WriteTesseract OCR PluginForm Processing PluginJBIG2 CodecJPEG2000 CodecISIS ScannerTwain ScannerDICOM ReaderCAD Scanner