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, wchar_t * ShaderName);

Parameters

ShaderNameThe shader name that was used when the shader was created.

Return values

0The shader could not be found
1The text shader was setup correctly