SetFormFieldBorderColorGray

Form fields, Colour

Description

Sets the border colour of the specified form field. Similar to the SetFormFieldBorderColor function, but a single colour component is specified in the Grey colour space. Possible values are in the range 0 to 1.

Syntax

Delphi

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

ActiveX

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

DLL

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

Parameters

IndexThe index of the form field Grey The grey component

Return values

0The form field could not be found
1The background colour of the specified form field was set successfully