SetTextShader
Vector graphics, Path definition and drawing, Color
Version history
This function was introduced in Quick PDF Library version 7.11.
Description
Sets the text color to the specified shader for subsequently drawn text.
Syntax
Delphi
function TQuickPDF0813.SetTextShader(ShaderName: WideString): Integer;
ActiveX
Function QuickPDF0813.PDFLibrary::SetTextShader(ShaderName As String) As Long
DLL
int QuickPDFSetTextShader(int InstanceID, 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 |