LEADTOOLS Barcode (Leadtools.Barcode assembly)
LEAD Technologies, Inc

MaximumStringLength Property








Gets or sets a value that indicates the maximum string length to use when searching for a non-fixed length barcode. .NET support WinRT support Silverlight support
Syntax
[DefaultValueAttribute()]
[DescriptionAttribute("The maximum length of a barcode string when searching for a non fixed lengthbar code. A value of 0 means no limit. Minimum value is 0 and maximum is 63")]
[CategoryAttribute("			Options")]
[DisplayNameAttribute("Minimum string length")]
public int MaximumStringLength {get; set;}
'Declaration
 
<DefaultValueAttribute()>
<DescriptionAttribute("The maximum length of a barcode string when searching for a non fixed lengthbar code. A value of 0 means no limit. Minimum value is 0 and maximum is 63")>
<CategoryAttribute("			Options")>
<DisplayNameAttribute("Minimum string length")>
Public Property MaximumStringLength As Integer
'Usage
 
Dim instance As OneDBarcodeReadOptions
Dim value As Integer
 
instance.MaximumStringLength = value
 
value = instance.MaximumStringLength
[DefaultValueAttribute()]
[DescriptionAttribute("The maximum length of a barcode string when searching for a non fixed lengthbar code. A value of 0 means no limit. Minimum value is 0 and maximum is 63")]
[CategoryAttribute("			Options")]
[DisplayNameAttribute("Minimum string length")]
public int MaximumStringLength {get; set;}
ObjectiveC Syntax
Java Syntax
DefaultValueAttribute()
DescriptionAttribute("The maximum length of a barcode string when searching for a non fixed lengthbar code. A value of 0 means no limit. Minimum value is 0 and maximum is 63")
CategoryAttribute("			Options")
DisplayNameAttribute("Minimum string length")
 get_MaximumStringLength();
set_MaximumStringLength(value);
[DefaultValueAttribute()]
[DescriptionAttribute("The maximum length of a barcode string when searching for a non fixed lengthbar code. A value of 0 means no limit. Minimum value is 0 and maximum is 63")]
[CategoryAttribute("			Options")]
[DisplayNameAttribute("Minimum string length")]
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. Default value is 0.
Remarks

This value will only be used if the barcode type (symbology) supports variable length in the barcode data. A value of 0 means no limit.

Set the minimum string length with MinimumStringLength.

Example

For an example, refer to OneDBarcodeReadOptions.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

OneDBarcodeReadOptions Class
OneDBarcodeReadOptions Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.

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