←Select platform

ReadSquareSymbolsOnly Property

Summary

Gets or sets a value indicating whether square or square and rectangular DataMatrix symbols are detected.

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
[DescriptionAttribute("Enable reading of square symbols only. Otherwise, read both rectangular and square symbols")] 
[CategoryAttribute("            Options")] 
[DefaultValueAttribute()] 
[DisplayNameAttribute("Square symbols only")] 
public bool ReadSquareSymbolsOnly {get; set;} 
<DescriptionAttribute("Enable reading of square symbols only. Otherwise, read both rectangular and square symbols")> 
<CategoryAttribute("         Options")> 
<DefaultValueAttribute()> 
<DisplayNameAttribute("Square symbols only")> 
Public Property ReadSquareSymbolsOnly As Boolean 
[DescriptionAttribute("Enable reading of square symbols only. Otherwise, read both rectangular and square symbols")] 
[CategoryAttribute("            Options")] 
[DefaultValueAttribute()] 
[DisplayNameAttribute("Square symbols only")] 
public bool ReadSquareSymbolsOnly {get; set;} 
@property (nonatomic, assign) BOOL readSquareSymbolsOnly 
public boolean getReadSquareSymbolsOnly() 
public void setReadSquareSymbolsOnly(boolean value) 
             
DescriptionAttribute("Enable reading of square symbols only. Otherwise, read both rectangular and square symbols") 
CategoryAttribute("         Options") 
DefaultValueAttribute() 
DisplayNameAttribute("Square symbols only") 
  
get_ReadSquareSymbolsOnly(); 
set_ReadSquareSymbolsOnly(value); 
Object.defineProperty('ReadSquareSymbolsOnly');  
[DescriptionAttribute("Enable reading of square symbols only. Otherwise, read both rectangular and square symbols")] 
[CategoryAttribute("            Options")] 
[DefaultValueAttribute()] 
[DisplayNameAttribute("Square symbols only")] 
public: 
property bool ReadSquareSymbolsOnly { 
   bool get(); 
   void set (    bool ); 
} 

Property Value

true to enable reading square DataMatrix symbols only (rectangular symbols are not detected). Otherwise, false (both square and rectangular symbols are detected). The default value is false.

Remarks

LEADTOOLS can detect both square and rectangular symbols. DataMatrix symbols are usually square and not rectangular. If you have a requirement to detect strict square shapes only, then set the value of ReadSquareSymbolsOnly to true.

Example

For an example, refer to DatamatrixBarcodeReadOptions.

Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Barcode Assembly
Click or drag to resize