Click here to Skip to main content
15,886,578 members
Articles / Desktop Programming / Windows Forms

GIOS PDF Splitter and Merger

Rate me:
Please Sign up or sign in to vote.
4.92/5 (45 votes)
28 Nov 2006LGPL34 min read 937K   4.1K   111  
The first open source PDF splitter and merger tool written in C#.
using System;
using System.Collections;

namespace Gios.Pdf.SplitMerge
{
	public class Project
	{
		public string Name;
		public ArrayList Parts;
		public int TotalPages
		{
			get
			{
				int tot=0;
				foreach (ProjectPart pp in this.Parts)
				{
					if (pp.Pages==null)
					{
						tot+=pp.MaxPage;
					}
					else
					{
						tot+=pp.Pages.Length;
					}
				}
				return tot;
			}
		}
		public Project(string name)
		{
			this.Parts=new ArrayList();
			this.Name=name;
		}
	}
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The GNU Lesser General Public License (LGPLv3)


Written By
Web Developer
Italy Italy
Freelance software ASPNET / C# Software Developer

I live in Torino, Italy

my homepage is: http://www.paologios.com

Comments and Discussions