SetFormFieldBorderColor
表单字段、颜色
描述
设置指定表单字段的边框颜色。颜色参数的值范围为 0 到 1,其中 0 表示颜色的 0%,1 表示颜色的 100%
语法
Delphi
Function TPDFlib.SetFormFieldBorderColor(Index: Integer; Red, Green, Blue: Double): Integer;
ActiveX
Function PDFlib::SetFormFieldBorderColor(Index As Long, Red As Double, Green As Double, Blue As Double) As Long
DLL
int DLSetFormFieldBorderColor(int InstanceID, int Index, double Red, double Green, double Blue);
参数
| Index | 表单字段的索引 |
|---|---|
| Red | 颜色的红色分量 |
| Green | 颜色的绿色分量;颜色的蓝色分量 |
| Blue |
返回值
| 0 | 找不到表单字段或参数无效 |
|---|---|
| 1 | 表单字段的边框颜色已成功设置 |