SetFormFieldBackgroundColorGray
Bidang formulir, Warna
Deskripsi
Mengeset warna background form field yang ditentukan. Mirip fungsi SetFormFieldBackgroundColor, tetapi satu komponen warna ditentukan dalam color space Gray. Nilai yang mungkin dalam rentang 0 sampai 1
Sintaks
Delphi
Function TPDFlib.SetFormFieldBackgroundColorGray(Index: Integer; G: Double): Integer;
ActiveX
Function PDFlib::SetFormFieldBackgroundColorGray(Index As Long, gray As Double) As Long
DLL
int DLSetFormFieldBackgroundColorGray(int InstanceID, int Index, double gray);
Parameter
| Index | Index form field Gray Komponen gray |
|---|
Nilai kembalian
| 0 | Form field tidak ditemukan |
|---|---|
| 1 | Warna background form field yang ditentukan berhasil diset |