SetFillColorSep

Vector graphics, Colour

Description

Sets the fill colour of subsequently drawn graphics. Similar to the SetFillColor function, but a tint of a separation colour added with the AddSeparationColor function is used.

Syntax

Delphi

function TPDFlib.SetFillColorSep(Const ColorName: WideString; Tint: Double): Integer;

ActiveX

Function PDFlib::SetFillColorSep(ColorName As String, Tint As Double) As Long

DLL

int DLSetFillColorSep(int InstanceID, wchar_t * ColorName, double Tint);

Parameters

ColorNameThe name of the separation colour that was used with the AddSeparationColor function
TintThe amount of colour to use. 0 indicates no colour (white), 1 indicates maximum colour.

Return values

0The separation colour name could not be found
1The fill colour was set successfully