Debenu Quick PDF logo

SetFormFieldBackgroundColorGray

Form fields, Color

Version history

This function was introduced in Quick PDF Library version 9.12.

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 TDebenuPDFLibrary1511.SetFormFieldBackgroundColorGray(Index: Integer; 
  Gray: Double): Integer;

ActiveX

Function DebenuPDFLibrary1511.PDFLibrary::SetFormFieldBackgroundColorGray(
  Index As Long, Gray As Double) As Long

DLL

int DPLSetFormFieldBackgroundColorGray(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

Copyright © 2014 Debenu. All rights reserved. AboutContactBlogNewsletterSupport