←Select platform

MaximumStringLength Property

Summary

Gets or sets a value that indicates the maximum string length to use when searching for a non-fixed-length barcode.

Syntax
C#
VB
Objective-C
C++
Java
public int MaximumStringLength { get; set; } 
Public Property MaximumStringLength As Integer 
@property (nonatomic, assign) NSInteger maximumStringLength 
public int getMaximumStringLength() 
public void setMaximumStringLength(int value) 
public: 
property int MaximumStringLength { 
   int get(); 
   void set (    int ); 
} 

Property Value

An 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

Help Version 20.0.2020.2.17
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Barcode Assembly