GetFormFieldBorderColor

表單欄位、色彩

描述

傳回指定欄位的框線顏色。可用值的數量取決於表單欄位指定的顏色類型,成分數量可用 GetFormFieldBorderColorType 函式取得

0 = No color specified

1 = DeviceGray (1 component)

3 = DeviceRGB (3 components)

4 = CMYK (4 components

語法

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

參數

Index要檢視的表單欄位索引
ColorComponentDeviceGray(color type = 1):1 = 灰階值 DeviceRGB(color type = 3):1 = 紅 2 = 綠 3 = 藍 DeviceCMYK(color type = 4):1 = 青 2 = 洋紅 3 = 黃 4 = 黑