SetTableCellBackgroundColor

颜色, 页面布局

说明

本页介绍 PDFlibPas 中属于“颜色, 页面布局”主题的 SetTableCellBackgroundColor。API 名称、参数、类名、文件名和字面量保持原样,以便和 Delphi 库及 DLL 入口点完全对应。

调用函数前请查看语法、参数和返回值。代码块保留原始形式,便于示例直接复制使用。

语法

Delphi

Function TPDFlib.SetTableCellBackgroundColor(TableID, FirstRow, FirstColumn, LastRow, LastColumn: Integer; Red, Green, Blue: Double): Integer;

ActiveX

Function PDFlib::SetTableCellBackgroundColor(TableID As Long, FirstRow As Long, FirstColumn As Long, LastRow As Long, LastColumn As Long, Red As Double, Green As Double, Blue As Double) As Long

DLL

int DLSetTableCellBackgroundColor(int InstanceID, int TableID, int FirstRow, int FirstColumn, int LastRow, int LastColumn, double Red, double Green, double Blue);

参数

TableIDTableIDSetTableCellBackgroundColor 的参数。请使用签名中显示的类型,并提供与当前 PDF 文档、所选页面或活动资源一致的值。
FirstRowFirstRowSetTableCellBackgroundColor 的参数。请使用签名中显示的类型,并提供与当前 PDF 文档、所选页面或活动资源一致的值。
FirstColumnFirstColumnSetTableCellBackgroundColor 的参数。请使用签名中显示的类型,并提供与当前 PDF 文档、所选页面或活动资源一致的值。
LastRowLastRowSetTableCellBackgroundColor 的参数。请使用签名中显示的类型,并提供与当前 PDF 文档、所选页面或活动资源一致的值。
LastColumnLastColumnSetTableCellBackgroundColor 的参数。请使用签名中显示的类型,并提供与当前 PDF 文档、所选页面或活动资源一致的值。
RedRedSetTableCellBackgroundColor 的参数。请使用签名中显示的类型,并提供与当前 PDF 文档、所选页面或活动资源一致的值。
GreenGreenSetTableCellBackgroundColor 的参数。请使用签名中显示的类型,并提供与当前 PDF 文档、所选页面或活动资源一致的值。
BlueBlueSetTableCellBackgroundColor 的参数。请使用签名中显示的类型,并提供与当前 PDF 文档、所选页面或活动资源一致的值。