The coding instructions are formulated to help you to try-out the features without the requirement to write your own code. ByteScout Premium Suite: the bundle that includes twelve SDK products from ByteScout including tools and components for PDF, barcodes, spreadsheets, screen video recording. It can set wide to narrow ratio with barcode sdk in VB.NET.
The following code snippet for ByteScout Premium Suite works best when you need to quickly set wide to narrow ratio with barcode sdk in your VB.NET application. Just copy and paste the code into your VB.NET application’s code and follow the instructions. If you want to use these VB.NET sample examples in one or many applications then they can be used easily.
ByteScout provides the free trial version of ByteScout Premium Suite along with the documentation and 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 wide to narrow ratio barcode.WideToNarrowRatio = 10 ' Save barcode to image barcode.SaveImage("result.png") ' Show image in default image viewer Process.Start("result.png") End Sub End Module