LEADTOOLS WCF Barcode (Leadtools.Services.Barcode.DataContracts assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.31
SearchRectangle Property
See Also 
Leadtools.Services.Barcode.DataContracts Namespace > ReadOption Class : SearchRectangle Property



The SearchRectangle Property is available in LEADTOOLS Document and Medical Imaging toolkits.

Gets or sets the rectangle that contains the search area for the barcodes.

Syntax

Visual Basic (Declaration) 
<DataMemberAttribute(Name="SearchRectangle", IsRequired=True)>
Public Property SearchRectangle As LeadRect
Visual Basic (Usage)Copy Code
Dim instance As ReadOption
Dim value As LeadRect
 
instance.SearchRectangle = value
 
value = instance.SearchRectangle
C# 
[DataMemberAttribute(Name="SearchRectangle", IsRequired=true)]
public LeadRect SearchRectangle {get; set;}
C++/CLI 
[DataMemberAttribute(Name="SearchRectangle", IsRequired=true)]
public:
property LeadRect SearchRectangle {
   LeadRect get();
   void set (    LeadRect value);
}

Property Value

A Leadtools.Services.DataContracts.LeadRect structure that contains the search area for the barcodes.

Example

For an example, refer to Barcode1d example.

Remarks

To search the entire image set this property to LeadRect with 0 values. If the LeadRect values are zeros and the image does not have a region, the entire image will be searched. If the LeadRect values are zeros and the image does have a region, only the region will be searched.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Applications developed with LEADTOOLS WCF components require runtime licenses. Server licensing is required for applications on a server. For more information, refer to: Imaging Pro/Document/Medical Features