GetFormFieldBorderColor

Bidang formulir, Warna

Deskripsi

Mengembalikan warna border field yang ditentukan. Jumlah nilai yang tersedia bergantung pada tipe warna yang ditentukan di form field. Jumlah komponen yang tersedia bisa diambil dengan fungsi GetFormFieldBorderColorType

0 = Tanpa warna yang ditentukan

1 = DeviceGray (1 component)

3 = DeviceRGB (3 components)

4 = CMYK (4 components

Sintaks

Delphi

Function TPDFlib.GetFormFieldBorderColor(Index, ColorComponent: Integer): Double;

ActiveX

Function PDFlib::GetFormFieldBorderColor(Index As Long, ColorComponent As Long) As Double

DLL

double DLGetFormFieldBorderColor(int InstanceID, int Index, int ColorComponent);

Parameter

IndexIndex form field yang akan diperiksa
ColorComponentUntuk DeviceGray (color type = 1) 1 = Level gray Untuk DeviceRGB (color type = 3) 1 = Red 2 = Green 3 = Blue Untuk DeviceCMYK (color type = 4) 1 = Cyan 2 = Magenta 3 = Yellow 4 = Black