C# Class Hamekoz.UI.WinForm.BarCodeCtrl

Barcode control.
Inheritance: System.Windows.Forms.UserControl
Datei anzeigen Open project: hamekoz/hamekoz-sharp

Public Methods

Method Description
BarCodeCtrl ( ) : System
Print ( ) : void

This function will display a print dialog and then print the contents of the control to the selected printer.

SaveImage ( String file ) : void

This function will save the contents of the control to a bitmap image specified by filename.

Private Methods

Method Description
BarCodeCtrl_Resize ( object sender, EventArgs e ) : void
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

panel_Paint ( object sender, PaintEventArgs e ) : void
printDocument_PrintPage ( object sender, System.Drawing.Printing.PrintPageEventArgs e ) : void

Method Details

BarCodeCtrl() public method

public BarCodeCtrl ( ) : System
return System

Print() public method

This function will display a print dialog and then print the contents of the control to the selected printer.
public Print ( ) : void
return void

SaveImage() public method

This function will save the contents of the control to a bitmap image specified by filename.
public SaveImage ( String file ) : void
file String
return void