SetTableCellBorderColor
Warna, Tata letak halaman
Deskripsi
Mengatur warna satu atau beberapa batas sel menggunakan ruang warna RGB.
Sintaks
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);
Parameter
| TableID | TableID yang dikembalikan oleh fungsi CreateTable |
|---|---|
| FirstRow | Nomor baris pertama yang akan diset. Baris paling atas adalah baris nomor 1 |
| FirstColumn | Nomor kolom pertama yang akan diset. Kolom paling kiri adalah kolom nomor 1 |
| LastRow | Nomor baris terakhir yang akan diset |
| LastColumn | Nomor kolom terakhir yang akan diset 0 = Semua border 1 = Left 2 = Top 3 = Right 4 = Bottom |
| BorderIndex | |
| Red | Komponen merah dari warna, bernilai 0 sampai 1 |
| Green | Komponen hijau dari warna, bernilai 0 sampai 1 |
| Blue | Komponen biru dari warna, bernilai 0 sampai 1 double Red, double Green, double Blue); |