SetTextShader
Vector graphics, Path definition and drawing, Color
คำอธิบาย
ตั้งสีข้อความให้ข้อความที่วาดต่อจากนี้ด้วยเชเดอร์ที่ระบุ
ไวยากรณ์
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 | ตั้งการวาดข้อความด้วยเชเดอร์ถูกต้องแล้ว |