GetFormFieldBorderColor

Trường biểu mẫu, Màu

Mô tả

Trả về màu viền của trường chỉ định. Số giá trị khả dụng phụ thuộc vào kiểu màu chỉ định trong trường biểu mẫu. Số thành phần có sẵn lấy được qua hàm GetFormFieldBorderColorType

0 = No color specified

1 = DeviceGray (1 component)

3 = DeviceRGB (3 components)

4 = CMYK (4 components

Cú pháp

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);

Tham số

IndexChỉ số của trường biểu mẫu cần xem
ColorComponentFor DeviceGray (color type = 1) 1 = Gray level For DeviceRGB (color type = 3) 1 = Red 2 = Green 3 = Blue For DeviceCMYK (color type = 4) 1 = Cyan 2 = Magenta 3 = Yellow 4 = Black