SetTableCellBackgroundColorCMYK

Color, Page layout

Description

Sets the background color of one or more cells using the CMYK color space.

Syntax

Delphi

function TPDFlib.SetTableCellBackgroundColorCMYK(TableID, FirstRow, FirstColumn, LastRow, LastColumn: Integer; C, M, Y, K: Double): Integer;

ActiveX

Function PDFlib::SetTableCellBackgroundColorCMYK(TableID As Long, FirstRow As Long, FirstColumn As Long, LastRow As Long, LastColumn As Long, C As Double, M As Double, Y As Double, K As Double) As Long

DLL

int DLSetTableCellBackgroundColorCMYK(int InstanceID, int TableID, int FirstRow, int FirstColumn, int LastRow, int LastColumn, double C, double M, double Y, double K);

Parameters

TableIDA TableID returned by the CreateTable function
FirstRowThe the number of the first row to set. Top row is row number 1.
FirstColumnThe the number of the first column to set. Left most column is column number 1.
LastRowThe number of the final row to set
LastColumnThe number of the final column to set The cyan component of the color, a value from 0 to 1
C
MThe magenta component of the color, a value from 0 to 1
YThe yellow component of the color, a value from 0 to 1
KThe black component of the color, a value from 0 to 1