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);
Параметры
| TableID | TableID, возвращаемый функцией 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); |