Represents a document that can merge and append other documents.
For a list of all members of this type, see MergeDocument members.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
System.Object
ceTe.DynamicPDF.Document
ceTe.DynamicPDF.Merger.MergeDocument
[Visual Basic]
Public Class MergeDocument
Inherits Document[C#]
public class MergeDocument : DocumentThis is the primary class used to merge or append entire PDF documents or certain pages from existing documents. The merge document can be output to any object derived from the Stream class that supports writing and can easily be integrated with ASP.NET to stream the document to Internet Information Server's HTTP output stream.
The following example will first merge two entire PDF documents together, then will Append a selected page of a third PDF to the end.
[Visual Basic]
Imports System
Imports ceTe.DynamicPDF
Imports ceTe.DynamicPDF.Merger
Module MyModule
Sub Main()
' Create two PDF document objects
Dim MyPdfA As PdfDocument = New PdfDocument("C:\ImportPDFA.pdf")
Dim MyPdfB As PdfDocument = New PdfDocument("C:\ImportPDFB.pdf")
' Merge the two documents
Dim MyDocument As MergeDocument = MergeDocument.Merge(MyPdfA, MyPdfB)
' Append an additional document
Dim MyPdfC As PdfDocument = New PdfDocument("C:\MyDocumentC.pdf")
MyDocument.Append(MyPdfC, 2, 1)
' Save the PDF
MyDocument.Draw("C:\MyDocument.pdf")
End Sub
End Module
[C#]
using System; |
This class is a DynamicPDF Merger Standard Edition feature (NOTE: Some properties require additional licensing and are noted accordingly). One of the following licenses is required for non-evaluation usage:
Namespace: ceTe.DynamicPDF.Merger
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
Assembly: ceTe.DynamicPDF (in ceTe.DynamicPDF.dll)
MergeDocument Members | ceTe.DynamicPDF.Merger Namespace
© Copyright 2007, ceTe Software