SetLineShader

Vector graphics, Path definition and drawing, Color

Description

Sets the outline color to the specified shader for subsequently drawn graphics until the next NewPage or SelectPage call.

Syntax

Delphi

Function TPDFlib.SetLineShader(Const ShaderName: WideString): Integer;

ActiveX

Function PDFlib::SetLineShader(ShaderName As String) As Long

DLL

int DLSetLineShader(int InstanceID, const wchar_t* ShaderName);
int DLSetLineShaderA(int InstanceID, const char* ShaderName);

Parameters

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

Return values

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