SetTextShaderA
Vector graphics, Path definition and drawing, 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 SetTextShader and string arguments are interpreted using the current SetAnsiMode code page
Sets the text color to the specified shader for subsequently drawn text.
Syntax
Delphi
Function DLSetTextShaderA(InstanceID: Integer; ShaderName: PAnsiChar): Integer;
DLL
int DLSetTextShaderA(int InstanceID, const char* ShaderName);
Parameters
| ShaderName | The shader name that was used when the shader was created. |
|---|
Return values
| 0 | The shader could not be found |
|---|---|
| 1 | The text shader was setup correctly |