|
|
EaseSoft Programming ZoneIndex: |
The Simplest Sample For ASP.NET Barcode Server Control
The Sample Manipulating ASP.NET Barcode Server ControlYou can programmatically identify an individual ASP.NET server control within a page by providing it with an id attribute. You can use this id reference to programmatically manipulate the server control's object properties at run time.For example, the following sample demonstrates how to wire and handle a button event on a single page.Event handler provide a clean way for page developers to handle the ASP.NET Barcode Server Control in an ASP.NET page.Run the sample,View the Source. Download our Barcode Costom Control Package which includes c# example, you can learn about how to use EaseSoft ASP.NET Barcode Web Server Control and .Net Windows Forms Control.Download our Barcode Generator to experience our control features, View the source code.![]() GDI+ and PrintingGDI+ is Microsoft's new .NET Framework class library for graphical programming. GDI+ provides us with three types of drawing surfaces- windows,bitmaps,and printers.EaseSoft Barcode Control was based on GDI+ control, it supports screen display ,bitmaps, and printers. There are two fundamental types of custom control for use in .NET:
The Resolution of a Drawing Surface In GDI+, the resolution
of our drawing surface is always expressed in units of pixels-per-inch(DPI)
or dots-per-inch(DPI). if a surface has a resolution of 72 DPI, then we
should be able to examine a 1-inch square of the surface and find that
it is a composed of a grid of 72 pixels in the horizontal direction by
72 pixels in the vertical direction. It is very easy to print graphics with GDI+ printing class "PrintDocument" ,which encapsulates a print document in memory.We can use this object to send output to a printer or print preview dialog. The flowing is a simple printing barcode image example: private
void Print_Click(object sender, System.EventArgs e) |
|
|