Click or drag to resize

PDFMerge Methods

The PDFMerge type exposes the following members.

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