趋势
点击量
打印
最近
 
Read More
2018年1月27日

Solution to the preview problem while playing a metafile in a CPreviewDC

Introduction

I was checking into a print preview problem in one of our applications, where if we tried to render any clipboard output to the print preview screen, further drawing operations (but not all) on the same page would not work correctly. Typically, this would be seen as font text drawn at an incorrect angle or for clip regions in use not to work correctly, so that [...]

8
 
Read More
2018年1月27日

HP PCL PCL5 Printing

Download source – 8.0 Kb

Introduction

With this code, you can print directly to the printer using WIN32 API calls and therefore should enable you to print at maximum speed. Additionally, there is code to show how to send Hewlett Packard PCL5 codes to the printer.

Using the code Add a form to your project. Add a button to the form. Change the Name property of the [...]
6
 
Read More
2018年1月27日

QedPrinter – Quick & Dirty Printer: Printing from C#, using WordPad as the print "engine"

Download demo project – 73.5 Kb Download source – 7.69 Kb

Introduction

It seems to be always true that one thing leads to another; this component is at two or three removes from the actual application I’m writing to interface with my employer’s customer base. In the course of developing and testing the application, I realized that I wanted to be able to [...]

6
 
Read More
2018年1月27日

Printing a datagridview in C# .NET 2.0

Download EXE – 11.74 KB Download source – 59.53 KB Introduction

This article demonstrates printing of a simple datagridview using the PrintPrintDocument and PrintPreivew classes.

Background

Graphics class in C# .NET 2.0.

Using the Code

The best part of .NET is the organization of classes like the PrintDocument class which is derived from the [...]

6
 
Read More
2018年1月27日

Using the Free CutePDF Writer without User Intervention

Download demo app – 12.83 KB Download CutePDFWriter class files – 3.31 KB Introduction

This article presents a class that is a hack around a shortcoming in the free CutePDF Writer. The shortcoming is that the “Save As” dialog always pops up so it is impossible to print to a PDF file without user interaction. This class makes it possible to use the free CutePDF [...]

4
分类热度
Dev
C#
Intermediate
Windows
.NET
Visual-Studio
Web开发
桌面开发
ASP.NET
Beginner
WinXP
Javascript
Win2K
.NET2.0
HTML
VC6
MFC
Architect
Advanced
第三方产品
移动开发
VS2005
VB
.NET1.1
VS.NET2003
产品展示
Design
Mobile
Wiki.ASP.NET articles
Win2003
C#3.0
企业系统
.NET3.5
开发生命周期
平台,框架&库
.NET1.0
.NET Framework
Ajax
XML
VC7
WebForms
Android
VS2013
ASP.NET 控件
.NET3.0
云计算
常规阅读
Vista
Android
Ajax
最新评分
无内容,请浏览其它分类
十佳
点击量
 
1
XP Style Navigation Bar Server Control with collection property and embedded resources
 
2
Android Recycler View with Spinner Item Change Selection and Update UI
 
3
A Transparent menu synchronizing system
 
4
Copy/Paste For Databound Objects
 
5
Bootstrap Persian DateTimePicker
 
6
Getting a CF_DIB or CF_METAFILEPICT from the clipboard and displaying it
 
7
ListView in-line editing
 
8
Extended Interface for Toolbars
 
9
Bobril – Integration to Another Web Application
 
10
Create Visio Add-on VSL project with Toolbar, Menu and Command Handler
周最高分
无内容,请浏览其它分类
十佳
点击量
 
1
XP Style Navigation Bar Server Control with collection property and embedded resources
 
2
Android Recycler View with Spinner Item Change Selection and Update UI
 
3
A Transparent menu synchronizing system
 
4
Copy/Paste For Databound Objects
 
5
Bootstrap Persian DateTimePicker