To display a barcode on a form a TextBox is used to hold the barcode characters.
Place a TextBox Windows Forms control on the form and add some code to your program to take the barcode characters from the dFont component and use it as the Text for the TextBox
For example:
private void DoBarcode() Visual Basic
{
Dfont1.Caption="1234"
TextBox1.Image=Dfont1.Barcode
}
private void DoBarcode() C#
{
dfont1.Caption="1234";
textBox1.Text=dfont1.Barcode;
}
private void DoBarcode() J#
{
dfont1.set_Caption("1234");
textBox1.set_Text(dfont1.Barcode);
}
More: