SetTableCellBackgroundColor
カラー、ページレイアウト
説明
RGB 色空間を使用して 1 つ以上のセルの背景色を設定する
構文
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);
パラメータ
| TableID | CreateTable 関数から返された TableID |
|---|---|
| FirstRow | 設定する最初の行番号。最上段は行番号1 |
| FirstColumn | 設定する最初の列の番号です。最も左の列は列番号 1 です |
| LastRow | 設定する最終行の番号 |
| LastColumn | 設定する最後の列の番号 色の赤成分。0~1 の値 |
| Red | |
| Green | 色の緑成分を示す 0~1 の値 |
| Blue | 色の青成分。0~1 の値 |