| Home | Download | Register | Testimonials | Support |
|
||||||||||
|
VintaSoftBarcode.NET Library For which purposes can I use the VintaSoftBarcode.NET Library? The library allows to read 1-D barcodes. From which parts does the library consist? The library contains:
In which programming languages can I use the VintaSoftBarcode.NET Library? Single Developer license and Site license allow to use library in: Server license allows to use library in: What restrictions does the unregistered version have? Unregistered version has the following restrictions: I have problems. What should I do? The information on most of questions can be found in the documentation or in this FAQ. Write to our support team to get more help. What files do I need to include in the setup package of my program? You need include only one file: VintaSoft.Barcode.dll. This file must be placed in the same folder as the assembly that references it. Make sure that the version you distribute is the version your assembly was compiled with. Can I re-distribute the VintaSoft.Barcode.dll file with my application without royalties? Yes, this library is royalty free. You pay only for registration one time. Only VintaSoft.Barcode.dll file can be re-distributed with your application. Single Developer license has limitation in re-distribution, please see the license agreement for more info. How can I read barcodes from multipage TIFF file? Here is a simple code:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
If Me.OpenFileDialog1.ShowDialog() = Windows.Forms.DialogResult.OK Then
Dim TifImage As System.Drawing.Image
Dim i As Integer = 0
TifImage = System.Drawing.Image.FromFile(Me.OpenFileDialog1.FileName)
Dim index As Guid
index = TifImage.FrameDimensionsList(0)
Dim dimension As System.Drawing.Imaging.FrameDimension
dimension = New System.Drawing.Imaging.FrameDimension(index)
'Total frame numbers
Dim totalFrame As Integer = TifImage.GetFrameCount(dimension)
Me.TextBox1.Text = "Total Pages: " & totalFrame
'Init
Dim currentFrame As Integer = 0
Dim barcodeReader As BarcodeReader = New BarcodeReader(TifImage)
barcodeReader.ScanInterval = 5
barcodeReader.BarcodesToRead = 1
barcodeReader.ScanDirection = ScanDirection.LeftToRight Or ScanDirection.RightToLeft
barcodeReader.ScanBarcodeTypes = BarcodeType.Code39
Try
For currentFrame = 0 To totalFrame - 1
'Selects a page
TifImage.SelectActiveFrame(dimension, currentFrame)
Dim Infos As BarcodeInfoCollection = barcodeReader.ReadBarcodes()
If Infos.Count > 0 Then
'Process
For i = 0 To Infos.Count - 1
Me.txtDetails.Text = txtDetails.Text & "Page
" & currentFrame + 1 & ": Code " &
Infos(i).Value & Environment.NewLine
Next i
End If
Next
Catch ex As Exception
End Try
End If
End Sub
|
|||||||||||