FormEditorAddListItem Method (String, String)
Adds new item to the list box.

Namespace: Aspose.Pdf.Facades
Assembly: Aspose.PDF (in Aspose.PDF.dll) Version: 19.11
Syntax
public void AddListItem(
	string fieldName,
	string itemName
)

Parameters

fieldName
Type: SystemString
Name of the field ot which new item will be added.
itemName
Type: SystemString
Name if new item.
Examples
C#
FormEditor formEditor = new FormEditor("PdfForm.pdf", PdfForm_out.pdf");
formEditor.AddListItem("listBoxField", "Item 4 (New Item)");
See Also