Click or drag to resize

PDFMerge Class

PDF Merge manager
Inheritance Hierarchy
SystemObject
  ExpertPdf.MergePdfPDFMerge

Namespace: ExpertPdf.MergePdf
Assembly: epmergepdf (in epmergepdf.dll) Version: 10.0
Syntax
public class PDFMerge

The PDFMerge type exposes the following members.

Constructors
 NameDescription
Public methodPDFMerge Merge using default PDF document options
Public methodPDFMerge(PdfDocumentOptions) Merge using the specified PDF document options
Top
Properties
 NameDescription
Public propertyBookletOptions Gets the booklet options of the merged document. Set Enabled to true to save the merged pages as a booklet: two pages on each landscape sheet, in saddle stitch order.
Public propertyBookmarkOptions Gets the bookmark options of the merged document: one bookmark for each merged document, its title, and whether the bookmarks of the merged documents are kept.
Public propertyDocumentInfo Gets or sets the info object of the merged PDF document. This object properties allow the control of the merged document information like author, title, creation date, etc
Public propertyLicenseKey Gets or sets the license key
Public propertySecurityOptions Gets the PDF security options object of the merged PDF document. This object properties allow the control of the merged document encryption, password protection, print and copy rights, etc
Top
Methods
 NameDescription
Public methodAppendEmptyPage Appends an empty page to PDF document
Public methodAppendImageFile Append an existing image file
Public methodAppendImageObject Append a System.Drawing.Image object
Public methodAppendPDFBytes(Byte) Appends a PDF document given as an array of bytes to the merged document
Public methodAppendPDFBytes(Byte, Int32) Appends pages from the specified source document, given as an array of bytes, starting from zero based page index in the source document.
Public methodAppendPDFBytes(Byte, Int32, Int32) Appends at most length pages from the specified source document, given as an array of bytes, starting from zero based index startIndex in the source document.
Public methodAppendPDFBytes(Byte, String, Int32, Int32) Appends at most length pages from the specified password protected source document, given as an array of bytes, starting from zero based index startIndex in the source document.
Public methodAppendPDFFile(String) Appends an existing PDF document
Public methodAppendPDFFile(String, Int32) Appends pages from the specified source document starting from zero based page index in the source document.
Public methodAppendPDFFile(String, Int32, Int32) Appends at most length pages from the specified source document starting from zero based index startIndex in the source document.
Public methodAppendPDFFile(String, String, Int32, Int32) Appends at most length pages from the specified password protected source document starting from zero based index startIndex in the source document.
Public methodAppendPDFStream(Stream) Appends a PDF stream to the merged document
Public methodAppendPDFStream(Stream, Int32) Appends pages from the specified source document starting from zero based page index in the source document.
Public methodAppendPDFStream(Stream, Int32, Int32) Appends at most length pages from the specified source document starting from zero based index startIndex in the source document.
Public methodAppendPDFStream(Stream, String, Int32, Int32) Appends at most length pages from the specified password protected source document starting from zero based index startIndex in the source document.
Public methodGetCurrentPageCount Retrieves the number of pages of current PDF document
Public methodStatic memberGetPageCount(Stream) A fast method to obtain the page count of a specified PDF document.
Public methodStatic memberGetPageCount(String) A fast method to obtain the page count of a specified PDF document.
Public methodInsertEmptyPage Inserts an empty page at the specified position in the merged document.
Public methodInsertImageFile Inserts an existing image file, on a new page, at the specified position in the merged document.
Public methodInsertPDFBytes(Int32, Byte) Inserts a PDF document given as an array of bytes at the specified position in the merged document.
Public methodInsertPDFBytes(Int32, Byte, Int32, Int32) Inserts at most length pages from the specified source document, given as an array of bytes, starting from zero based index startIndex in the source document, at the specified position in the merged document.
Public methodInsertPDFBytes(Int32, Byte, String, Int32, Int32) Inserts at most length pages from the specified password protected source document, given as an array of bytes, starting from zero based index startIndex in the source document, at the specified position in the merged document.
Public methodInsertPDFFile(Int32, String) Inserts an existing PDF document at the specified position in the merged document.
Public methodInsertPDFFile(Int32, String, Int32, Int32) Inserts at most length pages from the specified source document, starting from zero based index startIndex in the source document, at the specified position in the merged document.
Public methodInsertPDFFile(Int32, String, String, Int32, Int32) Inserts at most length pages from the specified password protected source document, starting from zero based index startIndex in the source document, at the specified position in the merged document.
Public methodInsertPDFStream(Int32, Stream) Inserts a PDF stream at the specified position in the merged document.
Public methodInsertPDFStream(Int32, Stream, Int32, Int32) Inserts at most length pages from the specified source stream, starting from zero based index startIndex in the source document, at the specified position in the merged document.
Public methodInsertPDFStream(Int32, Stream, String, Int32, Int32) Inserts at most length pages from the specified password protected source stream, starting from zero based index startIndex in the source document, at the specified position in the merged document.
Public methodRenderMergedPDFDocument Renders the merged document into memory buffer.
Public methodReorderPages Changes the order of the pages merged so far.
Public methodSaveMergedPDFToFile Saves the merged PDF document into the specified disk file.
Public methodSaveMergedPDFToStream Saves the merged PDF document into the specified stream.
Public methodSetBookmarkTitle Sets the title of the bookmark created for the document (or image file) appended or inserted last, when AddDocumentBookmarks is true. It replaces the title that would come from TitleSource; an empty string creates no bookmark for that document.
Top
See Also