C# Class Hamekoz.UI.WinForm.BarCodeCtrl

Barcode control.
Inheritance: System.Windows.Forms.UserControl
Afficher le fichier Open project: hamekoz/hamekoz-sharp

Méthodes publiques

Méthode 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

Méthode 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 méthode

public BarCodeCtrl ( ) : System
Résultat System

Print() public méthode

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

SaveImage() public méthode

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