←Select platform

MinimumStringLength Property

Summary

Gets or sets a value that indicates the minimum string length to use when searching for a non-fixed-length barcode.

Syntax
C#
VB
Objective-C
C++
Java
public int MinimumStringLength { get; set; } 
Public Property MinimumStringLength As Integer 
@property (nonatomic, assign) NSInteger minimumStringLength 
public int getMinimumStringLength() 
public void setMinimumStringLength(int value) 
public: 
property int MinimumStringLength { 
   int get(); 
   void set (    int ); 
} 

Property Value

An Int32 that indicates the minimum string length to use when searching for a non-fixed-length barcode.

Remarks

This value will only be used if the barcode type (symbology) supports variable lengths in the barcode data. A value of 0 sets the engine to the default length of 4 characters. To read all barcodes, set the MinimumStringLength to 1. The minimum number of characters is 0 and the maximum is 63.

Set the maximum string length with MaximumStringLength.

Example

For an example, refer to OneDBarcodeReadOptions.

Requirements

Target Platforms

Help Version 20.0.2020.4.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Barcode Assembly