Skip to main content

SetFullName

Sets new field name if possible.

Inherited from ApiBaseField.SetFullName.

Example

Assign a complete name identifier to a form field in a PDF.

// How do I name a form field in a PDF?

// Set the unique full name property of a form field in a PDF.

let doc = Api.GetDocument();
let page = doc.GetPage(0);
let textField = Api.CreateTextField([10, 10, 160, 30]);
page.AddObject(textField);

textField.SetFullName('EXAMPLE');
textField.SetValue('Field full name is: ' + textField.GetFullName());