Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.6.22
|
Leadtools.Barcode Namespace > OneDBarcodeReadOptions Class : MaximumStringLength Property |
[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;}
'Declaration
<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
'Usage
Dim instance As OneDBarcodeReadOptions Dim value As Integer instance.MaximumStringLength = value value = instance.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 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") <br/>get_MaximumStringLength();<br/>set_MaximumStringLength(value);<br/>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 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.