LEADTOOLS OCR (Leadtools.Forms.Ocr assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
Selected Property
See Also 
Leadtools.Forms.Ocr Namespace > OcrZone Structure : Selected Property



The Selected Property is available as an add-on to the LEADTOOLS Document and Medical Imaging toolkits.

Gets or sets a value indicating whether this zone is selected.

Syntax

Visual Basic (Declaration) 
Public Property Selected As Boolean
Visual Basic (Usage)Copy Code
Dim instance As OcrZone
Dim value As Boolean
 
instance.Selected = value
 
value = instance.Selected
C# 
public bool Selected {get; set;}
C++/CLI 
public:
property bool Selected {
   bool get();
   void set (    bool value);
}

Property Value

True if the zone is selected; otherwise it is false.

Example

For an example, refer to IOcrPage.HitTestZone.

Remarks

Selected is a user-defined value and is not used by the OCR engine. Calling IOcrPage.AutoZone will always fill the page with zones whose Selected value is set to false.

You can use Selected if the application uses the zones in its user interface, refer to the IOcrPage.HitTestZone example for more information.

Requirements

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

See Also

Selected requires an OCR module license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features