
Security News
npm Adopts OIDC for Trusted Publishing in CI/CD Workflows
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Viscomsoft.Barcode.x86
Advanced tools
This SDK for Desktop Windows and ASP.NET Developer to Read 1D and 2D barcodes in images and PDF files in your Web Application or Desktop Application. 1. Read 1D and 2D barcodes in images and PDF files. 2. Custom define scan barcode with different rotation. 3. Enable or disable scan multiple barcode. 4. Supported UPC-A, UPC-E, EAN-8, EAN-13, Code 39, Code 93, Code 128, ITF, Codabar, MSI, RSS-14 (all variants), QR Code, Data Matrix, Aztec and PDF-417. 5. Automatic barcode type detection, Read multiple barcodes at any orientation. 6. Enable/Disable spend more time to try to find a barcode, optimize for accuracy, not speed. 7. Get the Page Count of PDF file. 8. Get the Page Width and Page Height of PDF file. 9. Get the Bitmap for specific page of PDF file. 10. Include ASP.NET c# 2019, ASP.NET c# 2010, VB.NET 2019 , VB.NET 2010 Winform Sample Code. 11. Compatible with any programming language that supports .NET (C#, VB.NET etc). 13. Royalty free distribution of SDK files.
Launch Visual Studio 2019 or another version of Visual Studio. Select Visual C# or Visual Basic, Select Windows Form Application.
Install the latest version of the Viscomsoft.Barcode.x86 package from Manage NuGet Packages.
Right-click on Form1.cs in the Solution Explorer and select View Code to display the code behind the form.
we need to add the ViscomBarcodeWrapper namespace to our Form1.cs file.
using ViscomBarcodeWrapper;
Right-click on Form1.cs in the Solution Explorer and select View Code to display the code behind the form. Add the below code to Form load event
'make sure you change to correct path of your image or pdf file
string strFile = "c:\\yourfolder\\yourpdf.pdf";
BarcodeReader reader = new BarcodeReader();
reader.ScanWithoutRotation = true;
reader.ScanWith45DegreeClockwiseRotation = true;
reader.ScanWith45DegreeCounterClockwiseRotation = true;
reader.ScanWith90DegreeRotation = true;
reader.TryHard = true;
reader.ScanMultiple = true;
string strType =strFile.Substring(strFile.Length-3,3);
int count;
if (strType.ToLower() == "pdf")
{
int iPageCount = reader.GetPDFPageCount(strFile);
if (iPageCount == 0)
{
MessageBox.Show("The PDF page cannot read");
return;
}
int iMyWidth = 0;
int iMyHeight = 0;
bool bResult = reader.GetPDFPage(strFile, 1, out iMyWidth, out iMyHeight);
int iScaledWidth = (int)(iMyWidth * 2.5);
int iScaledHeight = (int)(iMyHeight * 2.5);
Bitmap bitmap = new Bitmap(iScaledWidth, iScaledHeight);
int width = bitmap.Width;
int height = bitmap.Height;
bool bresult = reader.GetPDFBitmap(strFile, 1, bitmap);
count = reader.ReadBarcodeImage(bitmap, 0, 0, width, height);
}
else
{
Bitmap bitmap = new Bitmap(strFile);
int width = bitmap.Width;
int height = bitmap.Height;
count = reader.ReadBarcodeImage(bitmap, 0, 0, width, height);
}
string text1 = "Total " + count.ToString() + " Barcode found" + "\r\n";
for (int i = 0; i < count; i++)
{
text1 = text1 + reader.GetBarCodeType(i) + " value:" + reader.GetBarCodeValue(i) + "\r\n";
}
MessageBox.Show(text1);
Press F5 to Run the project.
FAQs
This SDK for Desktop Windows and ASP.NET Developer to Read 1D and 2D barcodes in images and PDF files in your Web Application or Desktop Application. 1. Read 1D and 2D barcodes in images and PDF files. 2. Custom define scan barcode with different rotation. 3. Enable or disable scan multiple barcode. 4. Supported UPC-A, UPC-E, EAN-8, EAN-13, Code 39, Code 93, Code 128, ITF, Codabar, MSI, RSS-14 (all variants), QR Code, Data Matrix, Aztec and PDF-417. 5. Automatic barcode type detection, Read multiple barcodes at any orientation. 6. Enable/Disable spend more time to try to find a barcode, optimize for accuracy, not speed. 7. Get the Page Count of PDF file. 8. Get the Page Width and Page Height of PDF file. 9. Get the Bitmap for specific page of PDF file. 10. Include ASP.NET c# 2019, ASP.NET c# 2010, VB.NET 2019 , VB.NET 2010 Winform Sample Code. 11. Compatible with any programming language that supports .NET (C#, VB.NET etc). 13. Royalty free distribution of SDK files.
We found that viscomsoft.barcode.x86 demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.