Aspose::Pdf::Facades::FormEditor::CopyInnerField method

FormEditor::CopyInnerField(const System::String&, const System::String&, int32_t) method

Copies an existing field to the same position in specified page number. A new document will be produced, which contains everything the source document has except for the newly copied field.

void Aspose::Pdf::Facades::FormEditor::CopyInnerField(const System::String &fieldName, const System::String &newFieldName, int32_t pageNum)
ParameterTypeDescription
fieldNameconst System::String&The old fully qualified field name.
newFieldNameconst System::String&The new fully qualified field name. If null, it will be set as fieldName + “~”.
pageNumint32_tThe number of page to hold the new field. If -1, new field will be copid to the same page as old one hosted.

See Also

FormEditor::CopyInnerField(const System::String&, const System::String&, int32_t, float, float) method

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.

void Aspose::Pdf::Facades::FormEditor::CopyInnerField(const System::String &fieldName, const System::String &newFieldName, int32_t pageNum, float abscissa, float ordinate)
ParameterTypeDescription
fieldNameconst System::String&The old fully qualified field name.
newFieldNameconst System::String&The new fully qualified field name. If null, it will be set as fieldName + “~”.
pageNumint32_tThe number of page to hold the new field. If -1, new field will be copid to the same page as old one hosted.
abscissafloatThe abscissa of the new field. If -1, the abscissa will be equaled to the original one.
ordinatefloatThe ordinate of the new field. If -1, the ordinate will be equaled to the original one.

See Also