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

IndexIndex dari form field
CKomponen cyan dari warna
MKomponen magenta dari warna
YKomponen kuning dari warna
KKomponen hitam dari warna

Nilai kembalian

0Form field tidak ditemukan Warna background form field yang ditentukan berhasil diset
1