SetPartialName
Sets new field partial name.
Inherited from ApiBaseField.SetPartialName.
Example
Set field partial name and display it in a PDF document.
// How can I set partial name using a base field in a PDF document?
// Set partial name for a base field in a PDF document.
let doc = Api.GetDocument();
let page = doc.GetPage(0);
let textField = Api.CreateTextField([10, 10, 160, 30]);
page.AddObject(textField);
textField.SetPartialName('EXAMPLE');
textField.SetValue('Field partial name is: ' + textField.GetFullName());