SetXFAFormFieldBorderPresence

Form fields

Description

Sets the border style 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.SetXFAFormFieldBorderPresence(Const XFAFieldName: WideString; NewPresence: Integer): Integer;

ActiveX

Function PDFlib::SetXFAFormFieldBorderPresence(XFAFieldName As String, NewPresence As Long) As Long

DLL

int DLSetXFAFormFieldBorderPresence(int InstanceID, const wchar_t * XFAFieldName, int NewPresence);

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
NewPresence1 = Visible 2 = Invisible 3 = Hidden