Error processing SSI file
LEADTOOLS OCR (Leadtools.Forms.Ocr assembly)

Show in webframe

SetCellBackgroundColor Method








The 0-based index of the zone inside this page IOcrPage.Zones. This zone must exist in the list and its type must be a table (OcrZone.ZoneType must be OcrZoneType.Table) otherwise, this method will throw an exception.
The 0-based index of the cell inside the zone. This cell must exist in the array, otherwise, this method will throw an exception.
The color to be set.
Sets the background color of a cell inside a given zone.
Syntax
void SetCellBackgroundColor( 
   int zoneIndex,
   int cellIndex,
   RasterColor color
)
'Declaration
 
Sub SetCellBackgroundColor( _
   ByVal zoneIndex As Integer, _
   ByVal cellIndex As Integer, _
   ByVal color As RasterColor _
) 
'Usage
 
Dim instance As IOcrTableZoneManager
Dim zoneIndex As Integer
Dim cellIndex As Integer
Dim color As RasterColor
 
instance.SetCellBackgroundColor(zoneIndex, cellIndex, color)
void SetCellBackgroundColor( 
   int zoneIndex,
   int cellIndex,
   RasterColor color
)
function Leadtools.Forms.Ocr.IOcrTableZoneManager.SetCellBackgroundColor( 
   zoneIndex ,
   cellIndex ,
   color 
)
void SetCellBackgroundColor( 
   int zoneIndex,
   int cellIndex,
   RasterColor color
) 

Parameters

zoneIndex
The 0-based index of the zone inside this page IOcrPage.Zones. This zone must exist in the list and its type must be a table (OcrZone.ZoneType must be OcrZoneType.Table) otherwise, this method will throw an exception.
cellIndex
The 0-based index of the cell inside the zone. This cell must exist in the array, otherwise, this method will throw an exception.
color
The color to be set.
Remarks

This method is the equivalent of changing OcrZoneCell.BackgroundColor.

Requirements

Target Platforms

See Also

Reference

IOcrTableZoneManager Interface
IOcrTableZoneManager Members

Error processing SSI file
Leadtools.Forms.Ocr requires a Recognition or Document Imaging Suite license and unlock key. For more information, refer to: LEADTOOLS Toolkit Features