mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-17 11:21:39 -10:00
* 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
66 lines
979 B
C#
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!
|
|
}
|
|
}
|
|
}
|