←Select platform

MaximumStringLength Property

Summary

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

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
[DisplayNameAttribute("Maximum string length")] 
[DefaultValueAttribute()] 
[DescriptionAttribute("The maximum length of a barcode string when searching for a non-fixed-length barcode. A value of 0 means the length can be any value up to the maximum allowed (63). The minimum value is 0 and the maximum is 63.")] 
[CategoryAttribute("            Options")] 
public int MaximumStringLength {get; set;} 
<DisplayNameAttribute("Maximum string length")> 
<DefaultValueAttribute()> 
<DescriptionAttribute("The maximum length of a barcode string when searching for a non-fixed-length barcode. A value of 0 means the length can be any value up to the maximum allowed (63). The minimum value is 0 and the maximum is 63.")> 
<CategoryAttribute("         Options")> 
Public Property MaximumStringLength As Integer 
[DisplayNameAttribute("Maximum string length")] 
[DefaultValueAttribute()] 
[DescriptionAttribute("The maximum length of a barcode string when searching for a non-fixed-length barcode. A value of 0 means the length can be any value up to the maximum allowed (63). The minimum value is 0 and the maximum is 63.")] 
[CategoryAttribute("            Options")] 
public int MaximumStringLength {get; set;} 
@property (nonatomic, assign) NSInteger maximumStringLength 
public int getMaximumStringLength() 
public void setMaximumStringLength(int value) 
             
DisplayNameAttribute("Maximum string length") 
DefaultValueAttribute() 
DescriptionAttribute("The maximum length of a barcode string when searching for a non-fixed-length barcode. A value of 0 means the length can be any value up to the maximum allowed (63). The minimum value is 0 and the maximum is 63.") 
CategoryAttribute("         Options") 
  
get_MaximumStringLength(); 
set_MaximumStringLength(value); 
Object.defineProperty('MaximumStringLength');  
[DisplayNameAttribute("Maximum string length")] 
[DefaultValueAttribute()] 
[DescriptionAttribute("The maximum length of a barcode string when searching for a non-fixed-length barcode. A value of 0 means the length can be any value up to the maximum allowed (63). The minimum value is 0 and the maximum is 63.")] 
[CategoryAttribute("            Options")] 
public: 
property int MaximumStringLength { 
   int get(); 
   void set (    int ); 
} 

Property Value

An Int32 that indicates the maximum string length to use when searching for a non-fixed-length barcode. Must be a value between 0 and 63. The default value is 0.

Remarks

This value will only be used if the barcode type (symbology) supports variable lengths in the barcode data. A value of 0 means the length can be any value up to the maximum allowed (63).

Set the minimum string length with MinimumStringLength.

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