SetFormFieldBackgroundColor
Form fields, Color
Description
Sets the background color of the specified form field. The values of the color parameters range from 0 to 1, with 0 indicating 0% and 1 indicating 100% of the color.
Syntax
Delphi
function TPDFlib.SetFormFieldBackgroundColor(Index: Integer; Red, Green, Blue: Double): Integer;ActiveX
Function PDFlib::SetFormFieldBackgroundColor(Index As Long, Red As Double, Green As Double, Blue As Double) As LongDLL
int DLSetFormFieldBackgroundColor(int InstanceID, int Index, double Red, double Green, double Blue);Parameters
| Index | The index of the form field |
|---|---|
| Red | The red component of the color |
| Green | The green component of the color The blue component of the color |
| Blue |
Return values
| 0 | The form field could not be found or the parameters were invalid. The background color of the form field was set successfully |
|---|---|
| 1 |