GetFormFieldColor

Form fields, Color

Description

Retrieves the color of the text in the form field. This function must be called three times to retrieve all components of the color (red, green and blue).

Syntax

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);

Parameters

IndexThe index of the form field to work with. The first form field has an index of 1.
ColorComponent1 = Red 2 = Green 3 = Blue