Leadtools.Barcode Namespace > OneDBarcodeReadOptions Class : MaximumStringLength Property |
[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); }
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.
For an example, refer to OneDBarcodeReadOptions.
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