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