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