Table of Contents

Class PdfPageFormCopier

Namespace
iText.Forms
Assembly
itext.forms.dll

A sample implementation of the {#link IPdfPageExtraCopier} interface which copies only AcroForm fields to a new page.

public class PdfPageFormCopier : IPdfPageFormCopier, IPdfPageExtraCopier
Inheritance
PdfPageFormCopier
Implements
Inherited Members

Remarks

A sample implementation of the {#link IPdfPageExtraCopier} interface which copies only AcroForm fields to a new page.

NOTE: While it's absolutely not necessary to use the same PdfPageFormCopier instance for copying operations, it is still worth to know that PdfPageFormCopier uses some caching logic which can potentially improve performance in case of the reusing of the same instance.

Constructors

PdfPageFormCopier()

public PdfPageFormCopier()

Methods

Copy(PdfPage, PdfPage)

public virtual void Copy(PdfPage fromPage, PdfPage toPage)

Parameters

fromPage PdfPage
toPage PdfPage

RecreateAcroformToProcessCopiedFields(PdfDocument)

public virtual void RecreateAcroformToProcessCopiedFields(PdfDocument documentTo)

Parameters

documentTo PdfDocument