SetXFAFormFieldBorderColorA

Form fields, Color

Description

The trailing A denotes the ANSI (char) DLL entry point; the ActiveX/COM surface exposes only the Unicode form. Behaviour is identical to SetXFAFormFieldBorderColor and string arguments are interpreted using the current SetAnsiMode code page

Sets the border color of the specified XFA form field. The field name may be a relative template path or a standard template SOM path that starts with $template or xfa.template.

Syntax

Delphi

Function DLSetXFAFormFieldBorderColorA(InstanceID: Integer; XFAFieldName: PAnsiChar; Red, Green, Blue: Double): Integer;

DLL

int DLSetXFAFormFieldBorderColorA(int InstanceID, const char * XFAFieldName, double Red, double Green, double Blue);

Parameters

XFAFieldNameThe XFA template field name to work with; accepts dot-based SOM paths, slash-delimited paths returned by GetXFAFormFieldNames or GetXFAFormFieldName, and $template/... roots; slash-delimited paths preserve literal periods, and dot-delimited SOM paths accept escaped periods such as Line\.Item
RedThe red component of the color, which should be a value between 0 and 1
GreenThe green component of the color, which should be a value between 0 and 1
BlueThe blue component of the color, which should be a value between 0 and 1