SetFillColorCMYK

Vector graphics, Colour

Description

Sets the fill colour of subsequently drawn graphics. Similar to the SetFillColor function, but allows a colour in the CMYK colour space to be used. The values of the colour parameters range from 0 to 1, with 0 indicating 0% and 1 indicating 100% of the colour.

Syntax

Delphi

function TPDFlib.SetFillColorCMYK(C, M, Y, K: Double): Integer;

ActiveX

Function PDFlib::SetFillColorCMYK(C As Double, M As Double, Y As Double, K As Double) As Long

DLL

int DLSetFillColorCMYK(int InstanceID, double C, double M, double Y, double K);

Parameters

CThe cyan component of the colour
MThe magenta component of the colour
YThe yellow component of the colour
KThe black component of the colour