Debenu Quick PDF logo

SetFormFieldColor

Form fields, Color

Description

Sets the color of the text in the 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 TDebenuPDFLibrary1511.SetFormFieldColor(Index: Integer; Red, Green, 
  Blue: Double): Integer;

ActiveX

Function DebenuPDFLibrary1511.PDFLibrary::SetFormFieldColor(Index As Long,
  Red As Double, Green As Double, Blue As Double) As Long

DLL

int DPLSetFormFieldColor(int InstanceID, int Index, double Red, double Green,
  double Blue)

Parameters

Index The index of the form field to work with. The first form field has an index of 1.
Red The red component of the color
Green The green component of the color
Blue The blue component of the color

Return values

0 The form field could not be found
1 The form field text color was set successfully

Copyright © 2014 Debenu. All rights reserved. AboutContactBlogNewsletterSupport