SetTableCellBackgroundColor
Kolor, Układ strony
Opis
Ustawia kolor tła co najmniej jednej komórki w przestrzeni barw RGB
Składnia
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);
Parametry
| TableID | TableID zwrócony przez funkcję CreateTable |
|---|---|
| FirstRow | Numer pierwszego ustawianego wiersza. Górny wiersz ma numer 1 |
| FirstColumn | Numer pierwszej ustawianej kolumny. Skrajna lewa kolumna ma numer 1 |
| LastRow | Numer ostatniego ustawianego wiersza |
| LastColumn | Numer ostatniej ustawianej kolumny Czerwona składowa koloru, wartość od 0 do 1 |
| Red | |
| Green | Zielona składowa koloru, wartość od 0 do 1 |
| Blue | Niebieska składowa koloru, wartość od 0 do 1 |