IRONSOFTWAREHOME
바코드 읽기
using IronBarCode;
using IronSoftware.Drawing;
using System.Drawing;
using System.IO;

// Reading a barcode is easy with IronBarcode

// From an image file (also supports JPEG, TIFF, BMP, etc.)
var resultFromFile = BarcodeReader.Read(@"file/barcode.png");

// From a Bitmap object
var resultFromBitMap = BarcodeReader.Read(new Bitmap("barcode.bmp"));

// From a IronSoftware.Drawing.AnyBitmap object
var resultFromAnyBitmap = BarcodeReader.Read(new AnyBitmap("barcode.bmp"));

// From an Image object
var resultFromImage = BarcodeReader.Read(Image.FromFile("barcode.jpg"));

// From a memory stream
MemoryStream imageMemoryStream = new MemoryStream();
var resultFromStream = BarcodeReader.Read(imageMemoryStream); // From a stream

// PDFs are more intricate and must be read using ReadPdf
var resultFromPdf = BarcodeReader.ReadPdf(@"file/mydocument.pdf");
Imports IronBarCode
Imports IronSoftware.Drawing
Imports System.Drawing
Imports System.IO

' Reading a barcode is easy with IronBarcode

' From an image file (also supports JPEG, TIFF, BMP, etc.)
Dim resultFromFile = BarcodeReader.Read("file/barcode.png")

' From a Bitmap object
Dim resultFromBitMap = BarcodeReader.Read(New Bitmap("barcode.bmp"))

' From a IronSoftware.Drawing.AnyBitmap object
Dim resultFromAnyBitmap = BarcodeReader.Read(New AnyBitmap("barcode.bmp"))

' From an Image object
Dim resultFromImage = BarcodeReader.Read(Image.FromFile("barcode.jpg"))

' From a memory stream
Dim imageMemoryStream As New MemoryStream()
Dim resultFromStream = BarcodeReader.Read(imageMemoryStream) ' From a stream

' PDFs are more intricate and must be read using ReadPdf
Dim resultFromPdf = BarcodeReader.ReadPdf("file/mydocument.pdf")
NuGet Download
PM > Install-Package BarCode
바코드 읽기

바코드 읽기

IronBarcode를 사용하여 바코드를 읽는 것은 효과적이고 간단합니다. IronBarcode는 다양한 포맷을 지원하며, 각 상황에 맞는 다른 메서드를 제공합니다. 이미지에서 바코드를 읽기 원하는 개발자이든, 바코드 애플리케이션을 통합하고 데이터를 조작하려는 개발자이든, IronBarcode는 요구를 충족합니다.

Barcode Reader in C#

개발자는 BarcodeReader.Read 메서드를 사용하여 png, jpgjpeg와 같은 표준 이미지 형식의 파일 경로를 전달하여 파일 내의 값을 빠르게 읽을 수 있습니다. 게다가, BarcodeReader.Read 메서드는 BitmapAnyBitmap에 대해서도 작동합니다. 이는 표준 Bitmap 클래스를 사용하여 값을 조작하거나 전달해야 하는 응용 프로그램에 이상적입니다. .NET 7, .NET 6, .NET 5 및 .NET Core 전반에 걸쳐 보편적으로 호환 가능한 Bitmap 형식을 필요로 하는 개발자는 AnyBitmap 클래스를 통해 플랫폼 독립적인 솔루션을 제공합니다. 이는 매끄러운 상호 호환성을 가능하게 하여, 방해 없이 유연한 코드를 작성하고 변수를 전달할 수 있게 합니다.

BarcodeReader 클래스에는 PDF에서 바코드를 읽기 위해 ReadPdf을 사용하여 PDF 문서에 포함된 모든 이미지에서 바코드를 빠르게 얻을 수 있는 특정 메서드도 있습니다.

지정된 메서드 외에도 BarcodeReader 메서드를 사용하면 개발자가 더 세밀한 제어와 사용자 정의를 위해 BarcodeReaderOptions를 전달할 수 있습니다. 이는 BarcodeReader 클래스 내의 모든 메서드에 적용되며, 시간을 절약하기 위해 첫 번째 바코드만 읽거나 특정 유형의 바코드를 읽거나 다중 스레딩을 활용하는 등 여러 사용자 정의 옵션을 사용할 수 있게 합니다.

C#에서 이미지를 통한 바코드 읽기에 대한 가이드를 탐색하십시오.
GitHub에서 보기

시작할 준비 되셨나요?

Nuget Downloads 2,422,100버전:2026.9방금 출시

Key in blue circle

무료 30일 체험 키를 즉시 받으세요.

Your trial license will be sent to your email address

제한 없음. 100% 무제한 이용. 신용카드 불필요.

bullet_checked신용카드나 계정 생성은 필요하지 않습니다.제한 없음. 100% 무제한 이용. 신용카드 불필요.
  • Logo Aetna
  • Logo NASA
  • Logo GE
  • Logo Porsche
  • Logo USDA
  • Logo Qatar
Join Millions of Engineers who’ve tried IronPDF
무료 라이브 데모를 예약하세요
Booking Badge

전 세계 수백만 엔지니어들이 신뢰하는 제품입니다.

Iron Software의 고객 로고
부담 없는 무료 상담을 받아보세요
아래 양식을 작성하시거나 sales@ironsoftware.com으로 이메일을 보내주세요.
고객님의 정보는 항상 비밀로 유지됩니다.
전 세계 수백만 엔지니어들이 신뢰하는 제품입니다.
Iron Software의 고객 로고
지금 바로 30일 무료 체험판 키를 받으세요.
신용카드나 계정 생성은 필요하지 않습니다.