SetFormFieldBackgroundColor

表單欄位、色彩

描述

設定指定表單欄位的背景顏色。顏色參數值域為 0 到 1,0 代表 0%、1 代表 100%

語法

Delphi

Function TPDFlib.SetFormFieldBackgroundColor(Index: Integer; Red, Green, Blue: Double): Integer;

ActiveX

Function PDFlib::SetFormFieldBackgroundColor(Index As Long, Red As Double, Green As Double, Blue As Double) As Long

DLL

int DLSetFormFieldBackgroundColor(int InstanceID, int Index, double Red, double Green, double Blue);

參數

Index表單欄位的索引
Red顏色的紅成分
Green顏色的綠成分 顏色的藍成分
Blue

傳回值

0找不到表單欄位,或參數無效。 表單欄位的背景顏色設定成功
1