LEADTOOLS Barcode (Leadtools.Barcode assembly)

MaximumStringLength Property

Show in webframe







Gets or sets a value that indicates the maximum string length to use when searching for a non-fixed-length barcode.
Syntax
[CategoryAttribute("			Options")]
[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.")]
public int MaximumStringLength {get; set;}
'Declaration
 
<CategoryAttribute("			Options")>
<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.")>
Public Property MaximumStringLength As Integer
'Usage
 
Dim instance As OneDBarcodeReadOptions
Dim value As Integer
 
instance.MaximumStringLength = value
 
value = instance.MaximumStringLength
[CategoryAttribute("			Options")]
[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.")]
public int MaximumStringLength {get; set;}
@property (nonatomic, assign) int maximumStringLength;
public int getMaximumStringLength()
public void setMaximumStringLength(int value)
            
CategoryAttribute("			Options")
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.")
 
get_MaximumStringLength();
set_MaximumStringLength(value);
Object.defineProperty('MaximumStringLength');
[CategoryAttribute("			Options")]
[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.")]
public:
property int MaximumStringLength {
   int get();
   void set (    int value);
}

Property Value

An System.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

See Also

Reference

OneDBarcodeReadOptions Class
OneDBarcodeReadOptions Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.

Leadtools.Barcode requires a Barcode Module license and unlock key. For more information, refer to: LEADTOOLS Toolkit Features