←Select platform

SetCellBackgroundColor Method

Summary
Sets the background color of a cell inside a given zone.
Syntax
C#
C++/CLI
Python
public void SetCellBackgroundColor( 
   int zoneIndex, 
   int cellIndex, 
   RasterColor color 
) 
void SetCellBackgroundColor(  
   int zoneIndex, 
   int cellIndex, 
   RasterColor color 
)  
def SetCellBackgroundColor(self,zoneIndex,cellIndex,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

Help Version 23.0.2024.4.19
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Ocr Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.