RenameField

Form.RenameField method

Renomme un champ. Le champ AcroForm ou le champ XFA est OK.

public void RenameField(string fieldName, string newFieldName)
ParamètreTaperLa description
fieldNameStringl’ancien champ name
newFieldNameStringle nouveau champ name

Exemples

Form form = new Form("PdfForm.pdf", "PdfFormUpdated.pdf");
form.RenameField("field", "field1");
form.Save();

Voir également