FormEditorCopyOuterField Method (String, String)
Copies an existing field from one PDF document to another document with original page number and ordinates. Notice: Only for AcroForm fields (excluding radio box).

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

Parameters

srcFileName
Type: SystemString
The name of PDF document which containes the field to be copied.
fieldName
Type: SystemString
The original fully qualified field name.
Examples
C#
FormEditor formEditor = new FormEditor("PdfForm.pdf", "PdfForm_updated.pdf");
//copies text field from source.pdf to PdfForm.pdf
formEditor.CopyOuterField("source.pdf", "textField");
formEditor.Save();
See Also