SetTextHighlightColorSepA
Text, Colour
Description
The trailing A denotes the ANSI (char) DLL entry point; the ActiveX/COM surface exposes only the Unicode form. Behaviour is identical to SetTextHighlightColorSep and string arguments are interpreted using the current SetAnsiMode code page
Sets the colour used to highlight text. Similar to the SetTextHighlightColor function, but a tint of a separation colour added with the AddSeparationColor function is used.
Syntax
Delphi
Function DLSetTextHighlightColorSepA(InstanceID: Integer; ColorName: PAnsiChar; Tint: Double): Integer;
DLL
int DLSetTextHighlightColorSepA(int InstanceID, const char * 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 The text highlight colour was set successfully |
|---|---|
| 1 |