←选择平台

SetCellBackgroundColor方法

总结
设置背景颜色的细胞在一个给定的区域。
语法
c#
VB
c++
公共无效SetCellBackgroundColor (intzoneIndex,intcellIndex,RasterColor颜色)
SetCellBackgroundColor (_按值传递zoneIndex作为整数,_按值传递cellIndex作为整数,_按值传递颜色作为RasterColor_)
无效SetCellBackgroundColor (intzoneIndex,intcellIndex,RasterColor颜色)

参数

zoneIndex
基于索引的区域在这个页面IOcrPage.Zones。该区域必须存在于列表及其类型必须是一个表(OcrZone.ZoneType必须OcrZoneType.Table),否则,这个方法会抛出异常。

cellIndex
基于指数内的细胞区。这个单元格数组中必须存在,否则,这个方法会抛出异常。

颜色
颜色设置。

讲话

这种方法相当于改变OcrZoneCell.BackgroundColor

需求

目标平台

Leadtools。Ocr组装
188金宝搏的网址客服|支持|联系我们|知识产权的通知
©1991 - 2021领先的技术公司。保留所有权利。