These sample source codes on this page below are demonstrating how to set barcode height in VB.NET. ByteScout Barcode SDK is the fully featured library to generate barcodes. Supports QR Code, Code 39, Code 128, UPC, GS1, GS-128, PDF417, Datamatrix and many other barcode types. Includes various options for barcode generation to ensure output quality, add barcodes to new or existing pdf files and images. It can be used to set barcode height using VB.NET.
You will save a lot of time on writing and testing code as you may just take the VB.NET code from ByteScout Barcode SDK for set barcode height below and use it in your application. This VB.NET sample code is all you need for your app. Just copy and paste the code, add references (if needs to) and you are all set! Code testing will allow the function to be tested and work properly with your data.
ByteScout free trial version is available for download from our website. It includes all these programming tutorials along with source code samples.
Imports Bytescout.BarCode Module Module1 Sub Main() ' Create new barcode Dim barcode As New Barcode() ' Set symbology Barcode.Symbology = SymbologyType.Codabar ' Set value Barcode.Value = "123456" ' Set bar height barcode.BarHeight = 500 ' Save barcode to image Barcode.SaveImage("result.png") ' Show image in default image viewer Process.Start("result.png") End Sub End Module