SetFormFieldBackgroundColorCMYK
Bidang formulir, Warna
Deskripsi
Mengeset warna background form field yang ditentukan. Mirip fungsi SetFormFieldBorderColor, tetapi komponen warnanya ditentukan dalam color space CMYK (Cyan, Magenta, Yellow, Black). Nilai parameter warna berkisar 0 sampai 1, dengan 0 berarti 0% dan 1 berarti 100% warna
Sintaks
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);
Parameter
| Index | Index dari form field |
|---|---|
| C | Komponen cyan dari warna |
| M | Komponen magenta dari warna |
| Y | Komponen kuning dari warna |
| K | Komponen hitam dari warna |
Nilai kembalian
| 0 | Form field tidak ditemukan Warna background form field yang ditentukan berhasil diset |
|---|---|
| 1 |