Click or drag to resize

PdfCloneContext Class

Represents a context used to maintain the mapping between objects in the SourceDocument and the DestinationDocument while doing the successive cloning operations.
Inheritance Hierarchy
SystemObject
  GemBox.PdfPdfCloneContext

Namespace:  GemBox.Pdf
Assembly:  GemBox.Pdf (in GemBox.Pdf.dll) Version: 10.0.35.1000
Syntax
public sealed class PdfCloneContext : IDisposable

The PdfCloneContext type exposes the following members.

Properties
  NameDescription
Public propertyDestinationDocument
Gets the destination PdfDocument where cloned objects will be added.
Public propertySourceDocument
Gets the source PdfDocument from where objects will be cloned.
Top
Methods
  NameDescription
Public methodBeginClone

Begins again (or continues) the current context on the DestinationDocument where cloned objects are going to be added.

This method is useful if cloning is mingled between the various SourceDocuments so each time the cloning is done from the SourceDocument, the context is set on the DestinationDocument.

Public methodDispose

Ends the current context on the DestinationDocument where cloned objects were added.

The current context can again be reset on the DestinationDocument by using BeginClone method.

Public methodEndClone

Ends the current context on the DestinationDocument where cloned objects were added.

The current context can again be reset on the DestinationDocument by using BeginClone method.

Top
See Also

Reference

Other Resources