Files
mono/mcs/class/System.Drawing/System.Drawing.Printing/PaperSize.cs
T
Dennis Hayes 276270710a 2002-9-13 DennisHayes <[email protected]>
* PageSettings.cs 
* PaperSize.cs 
* PaperSource.cs 
* PrintControler.cs 
* PrintDocument.cs 
* PrintingPermission.cs 
* PrintPageEventHandler.cs 
* QueryPageSettingEventArgs.cs 
* QueryPageSettingsEventHandler.cs 
* added todos back
* minor bug fixes

svn path=/trunk/mcs/; revision=7436
2002-09-13 17:43:58 +00:00

66 lines
979 B
C#

//
// System.Drawing.PaperSize.cs
//
// Author:
// Dennis Hayes ([email protected])
//
// (C) 2002 Ximian, Inc
//
using System;
namespace System.Drawing.Printing
{
/// <summary>
/// Summary description for PaperSize.
/// </summary>
public class PaperSize
{
string name;
int width;
int height;
//Kind kind;
public PaperSize(string name, int width, int height)
{
this.width = width;
this.height = height;
this.name = name;
}
public int Width{
get{
return width;
}set
{
width = value;
}
}
public int Height{
get{
return height;
}set
{
height = value;
}
}
public string PaperName{
get{
return name;
}
set{
name = value;
}
}
// public PaperKind Kind{
// get{
// return kind;
// }
// }
[MonoTODO]
public override string ToString(){
return base.ToString();//FIXME: must override!
}
}
}