MergeDocument Constructors
Overloads
MergeDocument() | Initializes a new instance of the MergeDocument class. |
MergeDocument(Byte[], [Optional] Int32, [Optional] Int32, [Optional] MergeOptions) | Initializes a new instance of the MergeDocument class. |
MergeDocument(PdfDocument) | Initializes a new instance of the MergeDocument class. |
MergeDocument(PdfDocument, Int32, Int32) | Initializes a new instance of the MergeDocument class. |
MergeDocument(PdfDocument, Int32, Int32, MergeOptions) | Initializes a new instance of the MergeDocument class. |
MergeDocument(PdfDocument, MergeOptions) | Initializes a new instance of the MergeDocument class. |
MergeDocument(String) | Initializes a new instance of the MergeDocument class. |
MergeDocument(String, Int32, Int32) | Initializes a new instance of the MergeDocument class. |
MergeDocument(String, Int32, Int32, MergeOptions) | Initializes a new instance of the MergeDocument class. |
MergeDocument(String, MergeOptions) | Initializes a new instance of the MergeDocument class. |
MergeDocument()
Initializes a new instance of the MergeDocument class.
public MergeDocument()
Public Sub New ()
Licensing Info
This constructor is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Ultimate Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Core Suite selected.
- A DynamicPDF Core Suite for .NET v12.X Developer License.
MergeDocument(Byte[], [Optional] Int32, [Optional] Int32, [Optional] MergeOptions)
Initializes a new instance of the MergeDocument class.
public MergeDocument(Byte[] pdfData, [int startPage = 1], [int pageCount = -1], [MergeOptions options = null])
Public Sub New (pdfData As Byte(), Optional startPage As Integer = 1, Optional pageCount As Integer = -1, Optional options As MergeOptions = null)
Parameters
- pdfData
- Byte[]
The byte array of the PDF to import.
- startPage
- Int32
A MergeOptions object specifying the merge options.
- pageCount
- Int32
- options
- MergeOptions
Licensing Info
This constructor is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Ultimate Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Core Suite selected.
- A DynamicPDF Core Suite for .NET v12.X Developer License.
Exceptions
PdfParsingException The PDF file cannot be parsed because it is likely corrupt or invalid.
PdfSecurityException The PDF file cannot be read because it is encrypted and the owner password is incorrect or not supplied.
MergeDocument(PdfDocument)
Initializes a new instance of the MergeDocument class.
public MergeDocument(PdfDocument pdfDocument)
Public Sub New (pdfDocument As PdfDocument)
Parameters
- pdfDocument
- PdfDocument
The PdfDocument to import.
Licensing Info
This constructor is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Ultimate Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Core Suite selected.
- A DynamicPDF Core Suite for .NET v12.X Developer License.
Exceptions
PdfParsingException The PDF file cannot be parsed because it is likely corrupt or invalid.
PdfSecurityException The PDF file cannot be read because it is encrypted and the owner password is incorrect or not supplied.
MergeDocument(PdfDocument, Int32, Int32)
Initializes a new instance of the MergeDocument class.
public MergeDocument(PdfDocument pdfDocument, int startPage, int pageCount)
Public Sub New (pdfDocument As PdfDocument, startPage As Integer, pageCount As Integer)
Parameters
- pdfDocument
- PdfDocument
The PdfDocument to import.
- startPage
- Int32
The page to start importing from.
- pageCount
- Int32
The number of pages to import.
Licensing Info
This constructor is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Ultimate Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Core Suite selected.
- A DynamicPDF Core Suite for .NET v12.X Developer License.
Exceptions
PdfParsingException The PDF file cannot be parsed because it is likely corrupt or invalid.
MergeDocument(PdfDocument, Int32, Int32, MergeOptions)
Initializes a new instance of the MergeDocument class.
public MergeDocument(PdfDocument pdfDocument, int startPage, int pageCount, MergeOptions options)
Public Sub New (pdfDocument As PdfDocument, startPage As Integer, pageCount As Integer, options As MergeOptions)
Parameters
- pdfDocument
- PdfDocument
The PdfDocument to import.
- startPage
- Int32
The page to start importing from.
- pageCount
- Int32
The number of pages to import.
- options
- MergeOptions
A MergeOptions object specifying the merge options.
Licensing Info
This constructor is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Ultimate Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Core Suite selected.
- A DynamicPDF Core Suite for .NET v12.X Developer License.
Exceptions
PdfParsingException The PDF file cannot be parsed because it is likely corrupt or invalid.
MergeDocument(PdfDocument, MergeOptions)
Initializes a new instance of the MergeDocument class.
public MergeDocument(PdfDocument pdfDocument, MergeOptions options)
Public Sub New (pdfDocument As PdfDocument, options As MergeOptions)
Parameters
- pdfDocument
- PdfDocument
The PdfDocument to import.
- options
- MergeOptions
A MergeOptions object specifying the merge options.
Licensing Info
This constructor is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Ultimate Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Core Suite selected.
- A DynamicPDF Core Suite for .NET v12.X Developer License.
Exceptions
PdfParsingException The PDF file cannot be parsed because it is likely corrupt or invalid.
MergeDocument(String)
Initializes a new instance of the MergeDocument class.
public MergeDocument(string filePath)
Public Sub New (filePath As String)
Parameters
- filePath
- String
The physical file path of the PDF to import.
Licensing Info
This constructor is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Ultimate Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Core Suite selected.
- A DynamicPDF Core Suite for .NET v12.X Developer License.
Exceptions
PdfParsingException The PDF file cannot be parsed because it is likely corrupt or invalid.
PdfSecurityException The PDF file cannot be read because it is encrypted and the owner password is incorrect or not supplied.
MergeDocument(String, Int32, Int32)
Initializes a new instance of the MergeDocument class.
public MergeDocument(string filePath, int startPage, int pageCount)
Public Sub New (filePath As String, startPage As Integer, pageCount As Integer)
Parameters
- filePath
- String
The physical file path of the PDF to import.
- startPage
- Int32
The page to start importing from.
- pageCount
- Int32
The number of pages to import.
Licensing Info
This constructor is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Ultimate Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Core Suite selected.
- A DynamicPDF Core Suite for .NET v12.X Developer License.
Exceptions
PdfParsingException The PDF file cannot be parsed because it is likely corrupt or invalid.
PdfSecurityException The PDF file cannot be read because it is encrypted and the owner password is incorrect or not supplied.
MergeDocument(String, Int32, Int32, MergeOptions)
Initializes a new instance of the MergeDocument class.
public MergeDocument(string filePath, int startPage, int pageCount, MergeOptions options)
Public Sub New (filePath As String, startPage As Integer, pageCount As Integer, options As MergeOptions)
Parameters
- filePath
- String
The physical file path of the PDF to import.
- startPage
- Int32
The page to start importing from.
- pageCount
- Int32
The number of pages to import.
- options
- MergeOptions
A MergeOptions object specifying the merge options.
Licensing Info
This constructor is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Ultimate Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Core Suite selected.
- A DynamicPDF Core Suite for .NET v12.X Developer License.
Exceptions
PdfParsingException The PDF file cannot be parsed because it is likely corrupt or invalid.
PdfSecurityException The PDF file cannot be read because it is encrypted and the owner password is incorrect or not supplied.
MergeDocument(String, MergeOptions)
Initializes a new instance of the MergeDocument class.
public MergeDocument(string filePath, MergeOptions options)
Public Sub New (filePath As String, options As MergeOptions)
Parameters
- filePath
- String
The physical file path of the PDF to import.
- options
- MergeOptions
A MergeOptions object specifying the merge options.
Licensing Info
This constructor is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Ultimate Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Core Suite selected.
- A DynamicPDF Core Suite for .NET v12.X Developer License.
Exceptions
PdfParsingException The PDF file cannot be parsed because it is likely corrupt or invalid.
PdfSecurityException The PDF file cannot be read because it is encrypted and the owner password is incorrect or not supplied.