Class PdfBarcodeReaderOptions
An Options class of PdfBarcodeReaderOptions for reading many popular barcode formats from PDFs.
Features: MaxParallelThreads, Reading detail, ExpectMultipleBarcodes, Crop-area, Image filters and preprocessing for improved accuracy.Inherited Members
Namespace: IronBarCode
Assembly: IronBarCode.dll
Syntax
public class PdfBarcodeReaderOptions : BarcodeReaderOptions
Constructors
PdfBarcodeReaderOptions()
Initializes a new instance of the PdfBarcodeReaderOptions class.
Declaration
public PdfBarcodeReaderOptions()
PdfBarcodeReaderOptions(IEnumerable<Int32>)
Initializes a new instance of the PdfBarcodeReaderOptions class with the specified pages.
Declaration
public PdfBarcodeReaderOptions(IEnumerable<int> pageNumbers)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<System.Int32> | pageNumbers | The page numbers of the PDF. |
PdfBarcodeReaderOptions(Int32)
Initializes a new instance of the PdfBarcodeReaderOptions class with the specified page.
Declaration
public PdfBarcodeReaderOptions(int pageNumber)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | pageNumber | The page number of the PDF. |
Properties
DPI
The Dots per inch to rendering each Barcode images.
Declaration
public int DPI { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
PageNumbers
The page numbers of the PDF to read expressed as an Array, List or IEnumerable of System.Int32. PageNumbers are '1 based' meaning that the first page number is 1 rather than zero.
Declaration
public IEnumerable<int> PageNumbers { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.Int32> |
Password
The password string to open / unencrypt the PDF. Null or "" assign no password.
Declaration
public string Password { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Scale
The Scale Factor for Scaling Width and Height when convert Pdf to Image. Default 3.5.
Declaration
public double Scale { get; set; }
Property Value
Type | Description |
---|---|
System.Double |