SetFormFieldBackgroundColorGray
Form fields, Color
Description
Sets the background color of the specified form field. Similar to the SetFormFieldBackgroundColor function, but a single color component is specified in the Gray color space. Possible values are in the range 0 to 1.
Syntax
Delphi
Function TPDFlib.SetFormFieldBackgroundColorGray(Index: Integer; G: Double): Integer;
ActiveX
Function PDFlib::SetFormFieldBackgroundColorGray(Index As Long, gray As Double) As Long
DLL
int DLSetFormFieldBackgroundColorGray(int InstanceID, int Index, double gray);
Parameters
| Index | The index of the form field Gray The gray component |
|---|
Return values
| 0 | The form field could not be found |
|---|---|
| 1 | The background color of the specified form field was set successfully |