SetFormFieldBorderColor

Form fields, Colour

Description

Sets the border colour of the specified form field. The values of the colour parameters range from 0 to 1, with 0 indicating 0% and 1 indicating 100% of the colour.

Syntax

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

Parameters

IndexThe index of the form field
RedThe red component of the colour
GreenThe green component of the colour The blue component of the colour
Blue

Return values

0The form field could not be found or the parameters were invalid
1The border colour of the form field was set successfully