SetTableCellBorderColor
Boje, raspored stranice
Opis
Postavlja boju jednog ili više obruba ćelija pomoću prostora boja RGB
Sintaksa
Delphi
Function TPDFlib.SetTableCellBorderColor(TableID, FirstRow, FirstColumn, LastRow, LastColumn, BorderIndex: Integer; Red, Green, Blue: Double): Integer;
ActiveX
Function PDFlib::SetTableCellBorderColor(TableID As Long, FirstRow As Long, FirstColumn As Long, LastRow As Long, LastColumn As Long, BorderIndex As Long, Red As Double, Green As Double, Blue As Double) As Long
DLL
int DLSetTableCellBorderColor(int InstanceID, int TableID, int FirstRow, int FirstColumn, int LastRow, int LastColumn, int BorderIndex, double Red, double Green, double Blue);
Parametri
| TableID | TableID koji vraća funkcija CreateTable |
|---|---|
| FirstRow | Broj prvog retka koji se postavlja. Gornji redak je redak broj 1 |
| FirstColumn | Broj prvog stupca koji se postavlja. Krajnji lijevi stupac je stupac broj 1 |
| LastRow | Broj zadnjeg retka koji se postavlja |
| LastColumn | Broj zadnjeg stupca koji se postavlja 0 = Svi obrubi 1 = Lijevo 2 = Gore 3 = Desno 4 = Dolje |
| BorderIndex | |
| Red | Crvena komponenta boje, vrijednost od 0 do 1 |
| Green | Zelena komponenta boje, vrijednost od 0 do 1 |
| Blue | Plava komponenta boje, vrijednost od 0 do 1 double Red, double Green, double Blue); |