Click here to Skip to main content
15,879,053 members
Articles / Programming Languages / C#

Gios PDF .NET library

Rate me:
Please Sign up or sign in to vote.
4.89/5 (157 votes)
18 Apr 2005LGPL32 min read 2.2M   13.1K   558  
A .NET library for generating impressive PDF reports.
using System;

namespace Smart.Pdf
{
	
	public struct PdfTextAlign
	{
		internal string h,v;
		private PdfTextAlign(string h,string v)
		{
			this.h=h;
			this.v=v;
		}
		public static PdfTextAlign MiddleCenter
		{
			get
			{
				return new PdfTextAlign("center","middle");
			}
		}
		public static PdfTextAlign MiddleLeft
		{
			get
			{
				return new PdfTextAlign("left","middle");
			}
		}
		public static PdfTextAlign MiddleRight
		{
			get
			{
				return new PdfTextAlign("right","middle");
			}
		}
		public static PdfTextAlign TopCenter
		{
			get
			{
				return new PdfTextAlign("center","top");
			}
		}
		public static PdfTextAlign TopLeft
		{
			get
			{
				return new PdfTextAlign("left","top");
			}
		}
		public static PdfTextAlign TopRight
		{
			get
			{
				return new PdfTextAlign("right","top");
			}
		}
		public static PdfTextAlign BottomCenter
		{
			get
			{
				return new PdfTextAlign("center","bottom");
			}
		}
		public static PdfTextAlign BottomLeft
		{
			get
			{
				return new PdfTextAlign("left","bottom");
			}
		}
		public static PdfTextAlign BottomRight
		{
			get
			{
				return new PdfTextAlign("right","bottom");
			}
		}
	}
}

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