SetFillColorSepA

Vector graphics, Color

Description

The trailing A denotes the ANSI (char) DLL entry point; the ActiveX/COM surface exposes only the Unicode form. Behaviour is identical to SetFillColorSep and string arguments are interpreted using the current SetAnsiMode code page

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

Syntax

Delphi

Function DLSetFillColorSepA(InstanceID: Integer; ColorName: PAnsiChar; Tint: Double): Integer;

DLL

int DLSetFillColorSepA(int InstanceID, const char* ColorName, double Tint);

Parameters

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

Return values

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