SetFormFieldBorderColorGray

表单字段、颜色

描述

设置指定表单字段的边框颜色。与 SetFormFieldBorderColor 函数类似,但在 Gray 颜色空间中指定单一颜色分量。可用值范围为 0 至 1

语法

Delphi

Function TPDFlib.SetFormFieldBorderColorGray(Index: Integer; G: Double): Integer;

ActiveX

Function PDFlib::SetFormFieldBorderColorGray(Index As Long, gray As Double) As Long

DLL

int DLSetFormFieldBorderColorGray(int InstanceID, int Index, double gray);

参数

Index表单字段索引 灰色 灰色分量

返回值

0找不到表单字段
1已成功设置指定表单字段的背景颜色