GetFormFieldColor

表单字段、颜色

描述

获取表单字段中文本的颜色。必须调用此函数三次才能获取颜色的全部分量(红、绿、蓝)

语法

Delphi

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

ActiveX

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

DLL

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

参数

Index要操作的表单字段索引。第一个表单字段的索引为 1
ColorComponent1 = 红色 2 = 绿色 3 = 蓝色