FormEditorCopyInnerField Method (String, String, Int32, Single, Single)
Copies an existing field to a new position specified by both page number and ordinates. A new document will be produced, which contains everything the source document has except for the newly copied field.

Namespace: Aspose.Pdf.Facades
Assembly: Aspose.PDF (in Aspose.PDF.dll) Version: 19.11
Syntax
public void CopyInnerField(
	string fieldName,
	string newFieldName,
	int pageNum,
	float abscissa,
	float ordinate
)

Parameters

fieldName
Type: SystemString
The old fully qualified field name.
newFieldName
Type: SystemString
The new fully qualified field name. If null, it will be set as fieldName + "~".
pageNum
Type: SystemInt32
The number of page to hold the new field. If -1, new field will be copid to the same page as old one hosted.
abscissa
Type: SystemSingle
The abscissa of the new field. If -1, the abscissa will be equaled to the original one.
ordinate
Type: SystemSingle
The ordinate of the new field. If -1, the ordinate will be equaled to the original one.
Examples
C#
FormEditor formEditor = new FormEditor("PdfForm.pdf", "PdfForm_out.pdf");
//Creates copy of text field on psecond page.
formEditor.CopyInnerField("textField", "textFieldCopy", 2, 100, 200);
See Also