Leadtools.Forms.Ocr Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
Selected Property
See Also 
Leadtools.Forms.Ocr Namespace > OcrZone Structure : Selected Property



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);
}

Return 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 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

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