This page helps you to learn from code samples for programming in VB.NET. Fit into given size with barcode sdk in VB.NET can be applied with ByteScout Premium Suite. ByteScout Premium Suite is the set that includes 12 SDK products from ByteScout including tools and components for PDF, barcodes, spreadsheets, screen video recording.
Save time on writing and testing code by using the code below and use it in your application. Just copy and paste this VB.NET sample code to your VB.NET application’s code editor, add a reference to ByteScout Premium Suite (if you haven’t added yet) and you are ready to go! Enjoy writing a code with ready-to-use sample VB.NET codes to implement fit into given size with barcode sdk using ByteScout Premium Suite.
On our website you may get trial version of ByteScout Premium Suite for free. Source code samples are included to help you with your VB.NET application.
Imports System.Diagnostics Imports Bytescout.BarCode Class Program Friend Shared Sub Main(args As String()) ' Create new barcode Dim barcode As New Barcode() ' Set symbology barcode.Symbology = SymbologyType.Code39 ' Set value barcode.Value = "Sample" ' Specify barcode size by bounds to fit into. ' You can use any measure units. barcode.FitInto(5, 3, UnitOfMeasure.Inch) ' Save barcode to image barcode.SaveImage("result.png") ' Show image in default image viewer Process.Start("result.png") End Sub End Class