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
| ShaderName | The shader name that was used when the shader was created. |
|---|
Return values
| 0 | The shader could not be found |
|---|---|
| 1 | The shader outline was setup correctly |