2
0

PrinterResolution.cs 758 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. //
  2. // System.Drawing.Printing.PrinterResolution.cs
  3. //
  4. // Author:
  5. // Dennis Hayes ([email protected])
  6. // Andreas Nahr ([email protected])
  7. //
  8. // (C) 2002 Ximian, Inc
  9. // (C) 2003 Andreas Nahr
  10. //
  11. using System;
  12. namespace System.Drawing.Printing
  13. {
  14. public class PrinterResolution
  15. {
  16. private PrinterResolutionKind kind;
  17. private int x;
  18. private int y;
  19. private PrinterResolution ()
  20. {
  21. }
  22. internal PrinterResolution (int x, int y, PrinterResolutionKind kind)
  23. {
  24. this.x = x;
  25. this.y = y;
  26. this.kind = kind;
  27. }
  28. public int X {
  29. get {
  30. return x;
  31. }
  32. }
  33. public int Y {
  34. get {
  35. return y;
  36. }
  37. }
  38. public PrinterResolutionKind Kind {
  39. get {
  40. return kind;
  41. }
  42. }
  43. }
  44. }