I try to increase the font setting the cb2. Awards Neodynamic is recognized by its high-quality products and first-class support services that have been acknowledged by its customers around exizting world. Thanks but how o do that!! Right now, I have the code below:.
|Country:||Saint Kitts and Nevis|
|Published (Last):||9 June 2004|
|PDF File Size:||13.94 Mb|
|ePub File Size:||11.92 Mb|
|Price:||Free* [*Free Regsitration Required]|
Download source - 1. I searched the internet and finally found code for generating a barcode with itexsharp. Bar code data-collection technology is an effective way to improve the bottom line and meet the competitive challenges your organization faces every day. Readable by barcode data-capture technology. Using the code Download the open source library from sourceforge. Create the Windows Forms application in Visual Studio. Add a button to your Windows form.
Add a reference of itextSharp. Add the following code to your form. GetInstance doc, new FileStream Environment. GetFolderPath Environment. Create ; doc. Add "ID" ; dt. ToString ; dt. CreateFont BaseFont. CP, BaseFont. SetFontAndSize bf, 2. BeginText ; cb1. SetTextMatrix 1. ShowText "Safi Garments" ; cb1. SetFontAndSize bf1, 1. BeginText ; cb2. SetTextMatrix ShowText dt.
ToString ; cb2. EndText ; iTextSharp. DirectContent; iTextSharp. ToString ; bc. EAN13; bc. CreateDrawingImage System. Black, System. BLACK ; cb.
ScaleToFit 60, 5 ; img. SetAbsolutePosition 1. Close ; System. Start Environment. Just click inside the textbox in which you want to display the barcode value and point the barcode data-capture device over the barcode paper.
Subscribe to RSS
Generating Barcode for a Sale/Purchase System Using itextSharp
Create Barcodes and Pdf's in C# with iTextSharp