PreviewPrintControler.cs 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. //
  2. // System.Drawing.PreviewPrintControler.cs
  3. //
  4. // Author:
  5. // Dennis Hayes ([email protected])
  6. //
  7. // (C) 2002 Ximian, Inc
  8. //
  9. using System;
  10. namespace System.Drawing.Printing
  11. {
  12. /// <summary>
  13. /// Summary description for PreviewPrintControler.
  14. /// </summary>
  15. public class PreviewPrintControler : PrintControler
  16. {
  17. private bool useantialias;
  18. public PreviewPrintControler()
  19. {
  20. useantialias = false;
  21. }
  22. // //[MonoTODO]
  23. // public override void OnEndPage(PrintDocument document, PrintPageEventArgs e){
  24. // throw new NotImplementedException ();
  25. // }
  26. // //[MonoTODO]
  27. // public override void OnStartPrint(PrintDocument document, PrintPageEventArgs e){
  28. // throw new NotImplementedException ();
  29. // }
  30. // //[MonoTODO]
  31. // public override void OnEndPrint(PrintDocument document, PrintPageEventArgs e){
  32. // throw new NotImplementedException ();
  33. // }
  34. //[MonoTODO]
  35. //public override Graphics OnStartPage(PrintDocument document, PrintPageEventArgs e){
  36. // throw new NotImplementedException ();
  37. //}
  38. public bool UseAntiAlias {
  39. get{
  40. return useantialias;
  41. }
  42. set{
  43. useantialias = value;
  44. }
  45. }
  46. //[MonoTODO]
  47. public PreviewPageInfo [] GetPreviewPageInfo(){
  48. throw new NotImplementedException ();
  49. }
  50. }
  51. }