码迷,mamicode.com
首页 >  
搜索关键字:printdocument    ( 41个结果
WindowsForm 打印
打印: 打印对话框:printdialog 页面设置:pagesetupdialog 这两个对话框都需要通过设置printdocument来指定打印对象 printdocument:打印对象,必须要有,一块画板,用于打印机与打印内容之间中转,打印机打印的是printdoment printDoc.....
分类:Windows程序   时间:2015-03-12 20:40:22    阅读次数:182
WinForm条码打印
在这篇博客中,我曾经介绍了如何实现条形码的生成(生成jpg格式的图片),这篇博客借用上面生成的条码,能够实现条形码的打印功能。出于批量打印操作的方便以及操作体验考虑,我选择了WinForm。功能很简单,就是一个条码图片的打印,放置一个printDocument控件即可。核心代码如下:PrintDialog printDialog = new PrintDialog(); printDialog.D...
分类:Windows程序   时间:2014-10-15 15:59:21    阅读次数:353
去掉正在打印对话框
在网上找了很久的资料,经过验证,已成功,网上内容如下:PrintDocument类进行打印,当使用PrintDocument.Print()时,会自动出现一个“正 在打印,第?页,共?页”这样一个窗口提醒用户,该窗口上只有一个“取消”按钮,看来微软是很人性化的,想得也很周到,但微软的人性化却给我带来...
分类:其他好文   时间:2014-09-28 17:17:13    阅读次数:315
PrintDocument or PrintPreviewDialog 打印
/// /// /// /// /// private void btnPreview_Click(object sender, EventArgs e) { PackTypeReport ...
分类:其他好文   时间:2014-09-24 18:58:37    阅读次数:302
.Net(c#)打印--多页打印
如果要实现多页打印,就要使用PrintPageEventArgs类的HasMorePages属性。 我们对之前的代码作如下变更: 增加PrintDocument的BeginPrint和EndPrint事件。 BeginPrint事件用于得到被打印的内容。 EndPrint用于释放资源。 Print....
分类:Web程序   时间:2014-08-26 00:12:45    阅读次数:919
C#获得本地打印机列表的办法
public class LocalPrinter { private static PrintDocument fPrintDocument = new PrintDocument(); /// /// 获取...
分类:其他好文   时间:2014-07-22 23:14:12    阅读次数:201
.Net常用技巧_C#打印(PrintDocument、PrintDialog、PageSetupDialog、PrintPreviewDialog)
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Window...
分类:Web程序   时间:2014-07-16 23:08:43    阅读次数:264
silverlight visifire控件图表制作——silverlight 后台方法打印
一、后台方法1、添加引用:using System.Windows.Printing;2、全局变量://定义图片和文本打印变量 PrintDocument printImage;3、构造方法体里: //图片打印对象 printImage = new PrintDocument...
分类:Web程序   时间:2014-07-02 19:32:42    阅读次数:306
.NET应用程序创建专业的条码图像条形码控件Barcode .NET contro
Barcode .NET control条形码控件是一款灵活和强大的.NET控件,可以为你的.NET应用程序创建专业的条码图像,并且可以保存条码为不同的图像文件格式,还可以使用.NET Framework提供的PrintDocument控件来打印条码。具体功能:支持超过90种条码包含:一维条码:Co...
分类:Web程序   时间:2014-06-07 06:22:50    阅读次数:220
创建和导出不同格式图像文件的条形码控件Barcode .NET control
Barcode.NETcontrol是一款灵活和强大的.NET控件,可以为你的.NET应用程序创建专业的条码图像,并且可以保存条码为不同的图像文件格式,还可以使用.NETFramework提供的PrintDocument控件来打印条码。具体功能:支持超过90种条码包含:一维条码:Code39,Code128,GS1-128,ITF-14,S..
分类:Web程序   时间:2014-06-02 14:20:19    阅读次数:202
41条   上一页 1 2 3 4 5 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!