←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
Java
Objective-C
WinRT C#
C++
[DisplayNameAttribute("Minimum string length")] 
[DefaultValueAttribute()] 
[DescriptionAttribute("The minimum length of a barcode string when searching for a non-fixed-length barcode. A value of 0 sets the engine to the default length of 4 characters. To read all barcodes, set the MinimumStringLength to 1. Valid values range from 0 through 63.")] 
[CategoryAttribute("            Options")] 
public int MinimumStringLength {get; set;} 
<DisplayNameAttribute("Minimum string length")> 
<DefaultValueAttribute()> 
<DescriptionAttribute("The minimum length of a barcode string when searching for a non-fixed-length barcode. A value of 0 sets the engine to the default length of 4 characters. To read all barcodes, set the MinimumStringLength to 1. Valid values range from 0 through 63.")> 
<CategoryAttribute("         Options")> 
Public Property MinimumStringLength As Integer 
[DisplayNameAttribute("Minimum string length")] 
[DefaultValueAttribute()] 
[DescriptionAttribute("The minimum length of a barcode string when searching for a non-fixed-length barcode. A value of 0 sets the engine to the default length of 4 characters. To read all barcodes, set the MinimumStringLength to 1. Valid values range from 0 through 63.")] 
[CategoryAttribute("            Options")] 
public int MinimumStringLength {get; set;} 
@property (nonatomic, assign) NSInteger minimumStringLength 
public int getMinimumStringLength() 
public void setMinimumStringLength(int value) 
             
DisplayNameAttribute("Minimum string length") 
DefaultValueAttribute() 
DescriptionAttribute("The minimum length of a barcode string when searching for a non-fixed-length barcode. A value of 0 sets the engine to the default length of 4 characters. To read all barcodes, set the MinimumStringLength to 1. Valid values range from 0 through 63.") 
CategoryAttribute("         Options") 
  
get_MinimumStringLength(); 
set_MinimumStringLength(value); 
Object.defineProperty('MinimumStringLength');  
[DisplayNameAttribute("Minimum string length")] 
[DefaultValueAttribute()] 
[DescriptionAttribute("The minimum length of a barcode string when searching for a non-fixed-length barcode. A value of 0 sets the engine to the default length of 4 characters. To read all barcodes, set the MinimumStringLength to 1. Valid values range from 0 through 63.")] 
[CategoryAttribute("            Options")] 
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

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Barcode Assembly
Click or drag to resize