[]
Represents the various options controlling the behavior of the MergeWithDocument(GcPdfDocument, MergeDocumentOptions) method.
public class MergeDocumentOptions
Public Class MergeDocumentOptions
Name | Description |
---|---|
MergeDocumentOptions() |
Name | Description |
---|---|
CopyArticleThreads | Gets or sets a value indicating whether to copy ArticleThreads. The default is true. |
CopyAssociatedFiles | Gets or sets a value indicating whether to copy AssociatedFiles. The default is true. |
CopyDocumentLevelEmbeddedFiles | Gets or sets a value indicating whether to copy files embedded in the source document to the EmbeddedFiles collection. The default is false. |
CopyFields | Gets or sets a value indicating whether to copy Acroform fields. The default is true. |
CopyNamedDestinations | Gets or sets a value indicating whether to copy NamedDestinations. By default this property is false. Note that if the source document contains destinations with same names as in the target document, then those destinations will be skipped. A more complex logic can be implemented programmatically. |
CopyOptionalContent | Gets or sets a value indicating whether to copy OptionalContent. The default is true. |
DestinationOutlines | Gets or sets the OutlineNodeCollection to which the outlines from the source document linked to the merged pages will be copied. This can be either the target document's root Outlines collection, or one of its nested nodes' Children collections. |
DestinationStructTreeItems | Gets or sets the StructTreeItemCollection to which the structure items from the source document will be copied. |
Index | Gets or sets the starting position in the destination document at which the pages of the source document will be inserted. -1 (the default) indicates that the pages will be added to the end of the document. |
MergeStructTree | Gets or sets a value indicating whether to merge structure trees. The default is false. |
OutlineMergeMode | Gets or sets the outline merge mode. The default is None (in this mode, outlines from the source document are ignored). |
PagesRange | Gets or sets the OutputRange object specifying the range of the pages in the source document that should be merged into the destination document. Null (the default) indicates that all pages will be merged. |
RemoveDuplicateImages | Gets or sets a value indicating whether to remove duplicate images after merging. If true, the RemoveDuplicateImages() method will be called when the merging is complete. The default is false. |