| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- //
- // System.Drawing.Printing.PrinterResolution.cs
- //
- // Author:
- // Dennis Hayes ([email protected])
- // Andreas Nahr ([email protected])
- //
- // (C) 2002 Ximian, Inc
- // (C) 2003 Andreas Nahr
- //
- using System;
- namespace System.Drawing.Printing
- {
- public class PrinterResolution
- {
- private PrinterResolutionKind kind;
- private int x;
- private int y;
- private PrinterResolution ()
- {
- }
- internal PrinterResolution (int x, int y, PrinterResolutionKind kind)
- {
- this.x = x;
- this.y = y;
- this.kind = kind;
- }
- public int X {
- get {
- return x;
- }
- }
- public int Y {
- get {
- return y;
- }
- }
- public PrinterResolutionKind Kind {
- get {
- return kind;
- }
- }
- public override string ToString ()
- {
- return "[PrinterResolution X=" + x + " Y=" + y + "]";
- }
- }
- }
|