SetTextShader
Gráficos vetoriais, Definição e desenho de caminhos, Cor
Descrição
Define a cor do texto com o shader especificado para o texto desenhado em seguida
Sintaxe
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);
int DLSetTextShaderA(int InstanceID, const char* ShaderName);
Parâmetros
| ShaderName | O nome do shader usado quando o shader foi criado. |
|---|
Valores retornados
| 0 | O shader não foi encontrado |
|---|---|
| 1 | O shader de texto foi configurado corretamente |