SetTextShader

矢量图形、路径定义和绘制、颜色

描述

将后续绘制文本的颜色设为指定着色器

语法

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);

参数

ShaderName创建着色器时使用的着色器名称

返回值

0找不到着色器
1文本着色器已正确设置