how barcode print on the win form



how barcode print on the win form..

Answer / Priyanka Joshi

To print a barcode on a Windows Form, you can use a barcode library such as Avery DesignPro or BarTender. Here is an example using Avery DesignPro:

1. Install Avery DesignPro and add it as a reference to your project in Visual Studio.
2. Create a new instance of the `AVERYDSBar` class and set its properties according to your barcode requirements (such as barcode type, size, text, etc.).
3. Call the `SaveToImage` method to generate an image of the barcode.
4. Convert the image to a bitmap using the `Image.FromStream` method.
5. Set the Image property of your PictureBox control to the generated bitmap.
6. To print the barcode, call the Print method on the PictureBox control.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Dot Net WindowsForms Interview Questions

Name the property which of menu cannot be set at run time?

1 Answers  


What are the components of gui for windows?

1 Answers  


Explain how barcode create in the report?

1 Answers  


Which property of the errorprovider control automatically sets to the form to which?

1 Answers  


How do you customize the column content inside the datagrid?

2 Answers  


what are the differences between image and picture controls?

1 Answers  


List out controls which does not have events?

8 Answers   Silicon,


What is formdata?

1 Answers  


Which Isolation level is helps to read uncommitted data?

1 Answers   Arctern,


What is form and its types?

1 Answers  


Which C# access modifier helps to limit the accessibility of a class member within the same assembly?

1 Answers   Arctern,


What is boxing and how it is done internally?

4 Answers   Microsoft,


Categories