SetXFAFormFieldBorderWidth

Form fields

Description

Sets the border width 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 TPDFlib.SetXFAFormFieldBorderWidth(Const XFAFieldName: WideString; BorderWidth: Double): Integer;

ActiveX

Function PDFlib::SetXFAFormFieldBorderWidth(XFAFieldName As String, BorderWidth As Double) As Long

DLL

int DLSetXFAFormFieldBorderWidth(int InstanceID, const wchar_t* XFAFieldName, double BorderWidth);
int DLSetXFAFormFieldBorderWidthA(int InstanceID, const char* XFAFieldName, double BorderWidth);

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
BorderWidthThe desired width of the border

Return values

1The border width was written to the XFA form field
0The document has no form data or the field cannot be found