FormEditorRenameField Method
Change name of the field.

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

Parameters

fieldName
Type: SystemString
Old name of the field.
newFieldName
Type: SystemString
New name of the field.
Examples
C#
FormEditor formEditor = new FormEditor("PdfForm.pdf", "PdfForm_updated.pdf");
formEditor.RenameField("textField", "textField_Renamed");
See Also