bardecode.com
barcode reading software
  • Home
  • Download
  • Purchase
  • SDK Licensing
  • Pricing
    • Windows SDK Price List
    • Windows SDK with PDF Extension Price List
    • Linux SDK Price List
    • Linux SDK with PDF Extension Price List
    • PDF Extension For Windows Price List
    • Multi-Platform Toolkit for .NET Price List
    • BardecodeFiler Desktop Only Price List
    • BardecodeFiler Windows Service Price List
    • DOS Command Prompt Barcode Tool Price List
    • Terms and Conditions
    • Refund Policy
  • Products
    • Softek Barcode Reader Toolkit for Windows
    • Softek Barcode Reader Toolkit for Linux
    • BardecodeFiler Desktop App
    • BardecodeFiler Windows Service
    • Windows DOS Command Prompt Tool
    • Multi-platform barcode reader toolkit for .NET
    • Aquaforest’s Autobahn DX
  • Knowledge Base
    • Documentation
    • Specifications
  • News
  • Contact
    • About Us
    • Terms and Conditions
    • Resellers
    • Links
Select Page ...

News

Pattern - specify regular expression that barcode value must match

admin October 26, 2009 Documentation, Knowledge Base No Comments

Overview

 

The Pattern property is a regular expression that each barcode found in an image is compared against. The toolkit will only return barcodes that match the pattern.

The toolkit use POSIX extended regular expression syntax.

Examples:

“ABCDEF” will match all barcodes containing “ABCDEF” (e.g “XYZABCDEFXYZ”) .

“ABC[0-9]+” will match all barcodes containing “ABC” followed by one or more digits (e.g XYZABC71827XYZ”).

“^ABC[0-9]+$” will match barcodes that only consist of “ABC” followed by one or more digits (e.g “ABC12345”).

Note that if a Code 39 barcode uses a checksum character and the Pattern property is used to specify the entire string (ie. the last character of the pattern is $) then the Code39Checksum property must also be set to True.

Type: STRING
Default value: NULL

 

← PdfBpp – color depth when loading PDF documents
PageNo – specify page number to scan →
admin

  • Copyright © 2023 Softek Software Ltd. All Rights Reserved