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 = Red 2 = Green 3 = Blue