SetTableCellBorderColor

Цвет, макет страницы

Описание

Задаёт цвет рамок одной или нескольких ячеек в пространстве RGB

Синтаксис

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);

Параметры

TableIDTableID, возвращаемый функцией CreateTable
FirstRowНомер первой заполняемой строки. Верхняя строка имеет номер 1
FirstColumnНомер первого заполняемого столбца. Крайний левый столбец имеет номер 1
LastRowНомер последней заполняемой строки
LastColumnНомер последнего заполняемого столбца. 0 = все рамки 1 = левая 2 = верхняя 3 = правая 4 = нижняя
BorderIndex
RedКрасная составляющая цвета, значение от 0 до 1
GreenЗелёная составляющая цвета, значение от 0 до 1
BlueСиняя составляющая цвета, значение от 0 до 1 double Red, double Green, double Blue);