All articles| All Pictures| All Softwares| All Video| Go home page| Write articles| Upload pictures

Reading number is top 10 articles
解决Ajax中文乱码问题_[AJAX教程]
ASP.NET,2.0,中的母版页详解_[Asp.Net教程]
Apache2,+,PHP,在Windows2000下不稳定解决方案_php资料_编程技术
技巧:在ASP.NET,2.0中建立站点导航层次_.net资料_编程技术
Asp.net总调用的3个事件_[Asp.Net教程]
在c#中执行sql语句时传递参数的小经验_[Asp.Net教程]
.net下访问Access数据库需要注意的问题_[Asp.Net教程]
问题“未于信任SQL,Server连接相关联”的解决_[SQL,Server教程]
Asp.Net中动态页面转静态页面_[Asp.Net教程]
在ASP.NET里得到网站的域名_[Asp.Net教程]
Reading number is top 10 pictures
Exquisite decoration is not paying too much2
这才叫绝色美女2
Sora aoi mirror memorial classics5
Sell the barbecue as says father du breul5
NeedWallpaper8
Ashlynn Brooke a group sexy photo4
NeedWallpaper9
西方气质的东方美女3
Go to the national museum3
青春清纯美女大集合1
Download software ranking
C#COM编程指南
Rio big adventure
金山office2007
Boxer's Top ten classic battle8
jBuilder2006
功夫熊猫2(下集)
C++教程第四版
Boxer vs Yellow3
美女写真1
Photoshop 8.0图象编辑软件
qq published in(发表于) 2014/7/11 9:17:51 Edit(编辑)
C#中PrintDocument组件的方法使用实例

C#中PrintDocument组件的方法使用实例

C#中PrintDocument组件的方法使用实例|方法

PrintDocument组件的方法

下面介绍PrintDocument组件的方法,如表1所示。

Print()方法是最重要也是最常用的方法,它将开始打印进程,并触发PrintPage事件。

语法:

public DialogResult ShowDialog () public void Print ()

指定打印输出的方法是处理PrintPage事件并使用PrintPageEventArgs参数中包含的 Graphics对象。

使用PrinterSettings.PrinterName属性可指定用哪一台打印机来打印文档。Print方法在打印文档时不使用打印对话框。若要为用户提供选择打印设置的对话框,则使用 PrintDialog组件。



表1 PrintDocument对象常用方法及说明




添加到del.icio.us 添加到新浪ViVi 添加到百度搜藏 添加到POCO网摘 添加到天天网摘365Key 添加到和讯网摘 添加到天极网摘 添加到黑米书签 添加到QQ书签 添加到雅虎收藏 添加到奇客发现 diigo it 添加到饭否 添加到飞豆订阅 添加到抓虾收藏 添加到鲜果订阅 digg it 貼到funP 添加到有道阅读 Live Favorites 添加到Newsvine 打印本页 用Email发送本页 在Facebook上分享


Disclaimer Privacy Policy About us Site Map

If you have any requirements, please contact webmaster。(如果有什么要求,请联系站长)
Copyright ©2011-
uuhomepage.com, Inc. All rights reserved.