首页> 外文期刊>Access VB - SQL Advisor >Printing with VB.NET The .NET Framework gives you an easier way to print
【24h】

Printing with VB.NET The .NET Framework gives you an easier way to print

机译:使用VB.NET进行打印.NET Framework为您提供了一种更轻松的打印方法

获取原文
获取原文并翻译 | 示例

摘要

Forget everything you know about printing from Visual Basic 6. Although some parts of Visual Basic .NET are very similar to their non-.NET predecessors, printing isn't one of them. Instead, Visual Basic .NET introduces a new object-oriented method of printing. To print from VB.NET, you must master two core skills. First, you have to treat the printed page as a space on which to draw, using the classes in the System.Drawing namespace. Second, you have to properly communicate with the printer by using events of the PrintDocument class. Fortunately, neither one of these skills is difficult to master. Even better, this is one of the areas where you can get a lot of functionality from the .NET Framework for a small code investment. In this article, I give you the broad overview of printing from VB.NET, which provides you with the concepts you need to understand printing in your own applications.
机译:忘记从Visual Basic 6中获得的有关打印的所有知识。尽管Visual Basic .NET的某些部分与非.NET的前身非常相似,但打印并不是其中之一。而是,Visual Basic .NET引入了一种新的面向对象的打印方法。要从VB.NET打印,您必须掌握两项核心技能。首先,您必须使用System.Drawing命名空间中的类将打印的页面视为要在其上进行绘制的空间。其次,您必须通过使用PrintDocument类的事件与打印机正确通信。幸运的是,这些技能都不是很难掌握的。更好的是,这是您可以从.NET Framework获得大量功能而只需少量代码投资的领域之一。在本文中,我为您提供了从VB.NET进行打印的广泛概述,它为您提供了了解您自己的应用程序中的打印所需的概念。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号