SetFormFieldBackgroundColorCMYK
Form fields, Color
คำอธิบาย
ตั้งสีพื้นหลังของฟิลด์ฟอร์มที่ระบุ คล้ายฟังก์ชัน SetFormFieldBorderColor แต่ระบุองค์ประกอบสีในพื้นที่สี CMYK (Cyan, Magenta, Yellow, Black) ค่าพารามิเตอร์สีอยู่ในช่วง 0 ถึง 1 โดย 0 คือ 0% และ 1 คือ 100% ของสี
ไวยากรณ์
Delphi
Function TPDFlib.SetFormFieldBackgroundColorCMYK(Index: Integer; C, M, Y, K: Double): Integer;
ActiveX
Function PDFlib::SetFormFieldBackgroundColorCMYK(Index As Long, C As Double, M As Double, Y As Double, K As Double) As Long
DLL
int DLSetFormFieldBackgroundColorCMYK(int InstanceID, int Index, double C, double M, double Y, double K);
พารามิเตอร์
| Index | ดัชนีของฟิลด์ฟอร์ม |
|---|---|
| C | องค์ประกอบสีฟ้า (cyan) ของสี |
| M | องค์ประกอบสีแดงม่วง (magenta) ของสี |
| Y | องค์ประกอบสีเหลืองของสี |
| K | องค์ประกอบสีดำของสี |
ค่าที่ส่งคืน
| 0 | ไม่พบฟิลด์ฟอร์ม ตั้งสีพื้นหลังของฟิลด์ฟอร์มที่ระบุสำเร็จแล้ว |
|---|---|
| 1 |