SetTableCellBorderColor
Colour, Page layout
Description
Sets the colour of one or more cell borders using the RGB colour space.
Syntax
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);
Parameters
| TableID | A TableID returned by the CreateTable function |
|---|---|
| FirstRow | The the number of the first row to set. Top row is row number 1. |
| FirstColumn | The the number of the first column to set. Left most column is column number 1. |
| LastRow | The number of the final row to set |
| LastColumn | The number of the final column to set 0 = All borders 1 = Left 2 = Top 3 = Right 4 = Bottom |
| BorderIndex | |
| Red | The red component of the colour, a value from 0 to 1 |
| Green | The green component of the colour, a value from 0 to 1 |
| Blue | The blue component of the colour, a value from 0 to 1 double Red, double Green, double Blue); |