最近一个新的项目中,有一个要求,就是把数据打印出来。经过调查,写了一个类。
主要应用了 System.Drawing
Pint为主要方法 参数是将要打印的结果。
C# 印刷类 public void Print(CmDCardPrintData argDcardData)
        }

C# 印刷类 private void Pd_PrintPage(object sender, PrintPageEventArgs ev)
        }

C# 印刷类 private void DrawText(Graphics g, string curField,string text)
        }
打印的结果图:

相关文章:

  • 2021-09-21
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-06-11
  • 2021-06-16
  • 2022-01-20
  • 2021-10-19
  • 2021-12-02
  • 2021-12-12
  • 2021-06-12
相关资源
相似解决方案