Debenu Quick PDF logo

GetFormFieldBorderColor

Form fields, Color

Description

Returns the color of the specified field's border. The number of available values will depend on the color type specified in the form field. The number of components available can be retrieved using theGetFormFieldBorderColorType function.

0 = No color specified

1 = DeviceGray (1 component)

3 = DeviceRGB (3 components)

4 = CMYK (4 components

Syntax

Delphi

function TDebenuPDFLibrary1511.GetFormFieldBorderColor(Index, 
  ColorComponent: Integer): Double;

ActiveX

Function DebenuPDFLibrary1511.PDFLibrary::GetFormFieldBorderColor(Index As Long,
  ColorComponent As Long) As Double

DLL

double DPLGetFormFieldBorderColor(int InstanceID, int Index, int ColorComponent)

Parameters

Index The index of the form field to examine
ColorComponent For DeviceGray (color type = 1)
1 = Gray level
For DeviceRGB (color type = 3)
1 = Red
2 = Green
3 = Blue
For DeviceCMYK (color type = 4)
1 = Cyan
2 = Magenta
3 = Yellow
4 = Black

Copyright © 2014 Debenu. All rights reserved. AboutContactBlogNewsletterSupport