Bytescout.BarCode SDK for .NET
|
Getting started in Visual Basic .NET with Bytescout.BarCode control for Windows Forms
The following sample demonstrates how to use Barcode Windows Forms control in Visual Basic.NET WinForms applications:
When you use Windows Forms control Bytescout.BarCodeControl in a Windows application, you just need to copy the Bytescout.BarCode.dll file to your application's directory and add reference to Bytescout.BarCode component in your project refrences. The following example illustrates how you can set properties of BarcodeControl control. This example requires that BarcodeControl with barcodeControl1 name is added to a form and that the Bytescout.BarCode namespace has been added to the source code for your form. You can also fine tune control appearance by means of Windows Forms designer. Sub SetMarginsAndRotate() Non-visual class You can also use non-visual class to generate barcode and save generated barcode into PNG, JPG or another image file: Imports Bytescout.BarCode Module Module1 Sub Main() ' Set symbology ' Save barcode
to image ' Show image
in default image viewer End Module
Documentation online: view (new window) |
|
|
||