SetTextShader
Vector graphics, Path definition and drawing, Color
Description
Sets the text color to the specified shader for subsequently drawn text.
Syntax
Delphi
Function TPDFlib.SetTextShader(Const ShaderName: WideString): Integer;
ActiveX
Function PDFlib::SetTextShader(ShaderName As String) As Long
DLL
int DLSetTextShader(int InstanceID, const wchar_t * 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 |