Menu
![]() ![]() ![]() We can also choose to export to HTML or PDF instead of an image if that is more appropriate for our application. In the following example, we may add annotations to the barcode, set the font, display its value below it, add margins, change the barcode color, and then save it, all quite simply in C#. Advanced Barcode CreationĪlthough the previous example was effective, in the real world we may wish to do more. The final line of code simply opens the barcode PNG in the example so that you can see it with your own eyes. We can then choose to save as image or save as a or Bitmap object. We first create the barcode by specifying its value and the barcode format we will be using from the IronBarCode.BarcodeWriterEncoding Enum. ![]()
0 Comments
Leave a Reply. |