←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
Java
Objective-C
WinRT C#
C++
public int MaximumStringLength { get; set; } 
Public Property MaximumStringLength As Integer 
public int MaximumStringLength {get; set;} 
@property (nonatomic, assign) NSInteger maximumStringLength 
public int getMaximumStringLength() 
public void setMaximumStringLength(int value) 
             
 <br/>get_MaximumStringLength();<br/>set_MaximumStringLength(value);<br/>Object.defineProperty('MaximumStringLength');  
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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Barcode Assembly