SetTableBorderColor

Colour, Page layout

Description

Sets the colour of the specified table border using the RGB colour space.

Syntax

Delphi

function TPDFlib.SetTableBorderColor(TableID, BorderIndex: Integer; Red, Green, Blue: Double): Integer;

ActiveX

Function PDFlib::SetTableBorderColor(TableID As Long, BorderIndex As Long, Red As Double, Green As Double, Blue As Double) As Long

DLL

int DLSetTableBorderColor(int InstanceID, int TableID, int BorderIndex, double Red, double Green, double Blue);

Parameters

TableIDA TableID returned by the CreateTable function 0 = All borders 1 = Left 2 = Top 3 = Right 4 = Bottom
BorderIndex
RedThe red component of the colour, a value from 0 to 1
GreenThe green component of the colour, a value from 0 to 1
BlueThe blue component of the colour, a value from 0 to 1