LEADTOOLS OCR (Leadtools.Forms.Ocr assembly)

Cells Property

Show in webframe







Gets or sets the detected cells of this zone if the zone type is OcrZoneType.Table
Syntax
public OcrZoneCell[] Cells {get; set;}
'Declaration
 
Public Property Cells As OcrZoneCell()
'Usage
 
Dim instance As OcrZone
Dim value() As OcrZoneCell
 
instance.Cells = value
 
value = instance.Cells
public OcrZoneCell[] Cells {get; set;}
@property (nonatomic, strong) NSMutableArray* cells;
public OcrZoneCell[] getCells()
public void setCells(OcrZoneCell[] value)
            
 
get_Cells();
set_Cells(value);
Object.defineProperty('Cells');
public:
property array<OcrZoneCell^>^ Cells {
   array<OcrZoneCell^>^ get();
   void set (    array<OcrZoneCell^>^ value);
}

Property Value

An array of OcrZoneCell object that represents the detected cells of this zone if the zone type is OcrZoneType.Table. Default value is null (Nothing in Visual Basic).
Remarks

Note: In Windows Runtime, the OcrZone does not contain an array of cells. Instead you can access and update the zone cells using IOcrZoneCollection.GetZoneCells and IOcrZoneCollection.SetZoneCells.

You can use table cells in one of two ways:

To manipulate a cell properties other than its bound (OcrZoneCell.Bounds), get the array of detected cells through OcrZone.Cells, change the cell background color, style or any border color, style or with. When you are done, re-set the array to OcrZone.Cells and call IOcrTableZoneManager.UpdateCells.

It is not recommended that you manually remove or add cells to the OcrZone.Cells, the engine is very sensitive to zone boundaries and any non-accurate information will cause an error. Instead, use the various methods of IOcrTableZoneManager to manipulate the cell location and size.

Example
For an example, refer to IOcrTableZoneManager.
Requirements

Target Platforms

See Also

Reference

OcrZone Structure
OcrZone Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.

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