SetTextColorSep
Text, Colour
Description
Sets the colour for any subsequently drawn text. Similar to the SetTextColor function, but a tint of a separation colour added with the AddSeparationColor function is used.
Syntax
Delphi
function TPDFlib.SetTextColorSep(Const ColorName: WideString; Tint: Double): Integer;ActiveX
Function PDFlib::SetTextColorSep(ColorName As String, Tint As Double) As LongDLL
int DLSetTextColorSep(int InstanceID, wchar_t * ColorName, double Tint);Parameters
| ColorName | The name of the separation colour that was used with the AddSeparationColor function |
|---|---|
| Tint | The amount of colour to use. 0 indicates no colour (white), 1 indicates maximum colour. |
Return values
| 0 | The separation colour name could not be found |
|---|---|
| 1 | The text colour was set successfully |