PdfDocument Constructors

Overloads

PdfDocument(Byte[])Initializes a new instance of the PdfDocument class.
PdfDocument(Byte[], String)Initializes a new instance of the PdfDocument class.
PdfDocument(Stream)Initializes a new instance of the PdfDocument class.
PdfDocument(Stream, String)Initializes a new instance of the PdfDocument class.
PdfDocument(String)Initializes a new instance of the PdfDocument class.
PdfDocument(String, String)Initializes a new instance of the PdfDocument class.

PdfDocument(Byte[])

Initializes a new instance of the PdfDocument class.

public PdfDocument(Byte[] data)
Public Sub New (data As Byte())

Parameters

data
Byte[]

Byte array of the input PDF data.

Licensing Info

This constructor is a DynamicPDF Viewer feature. One of the following is required for non-evaluation usage:

PdfDocument(Byte[], String)

Initializes a new instance of the PdfDocument class.

public PdfDocument(Byte[] data, string password)
Public Sub New (data As Byte(), password As String)

Parameters

data
Byte[]

Byte array of the input PDF data.

password
String

Password to open the PDF file.

Licensing Info

This constructor is a DynamicPDF Viewer feature. One of the following is required for non-evaluation usage:

PdfDocument(Stream)

Initializes a new instance of the PdfDocument class.

public PdfDocument(Stream stream)
Public Sub New (stream As Stream)

Parameters

stream
Stream

Stream containing the PDF data.

Licensing Info

This constructor is a DynamicPDF Viewer feature. One of the following is required for non-evaluation usage:

PdfDocument(Stream, String)

Initializes a new instance of the PdfDocument class.

public PdfDocument(Stream stream, string password)
Public Sub New (stream As Stream, password As String)

Parameters

stream
Stream

Stream containing the PDF data.

password
String

Password to open the PDF file.

Licensing Info

This constructor is a DynamicPDF Viewer feature. One of the following is required for non-evaluation usage:

PdfDocument(String)

Initializes a new instance of the PdfDocument class.

public PdfDocument(string filePath)
Public Sub New (filePath As String)

Parameters

filePath
String

Physical file path of the PDF.

Licensing Info

This constructor is a DynamicPDF Viewer feature. One of the following is required for non-evaluation usage:

PdfDocument(String, String)

Initializes a new instance of the PdfDocument class.

public PdfDocument(string filePath, string password)
Public Sub New (filePath As String, password As String)

Parameters

filePath
String

Physical file path of the PDF.

password
String

Password to open the PDF file.

Licensing Info

This constructor is a DynamicPDF Viewer feature. One of the following is required for non-evaluation usage:

See Also

PdfDocument
ceTe.DynamicPDF.Viewer

In this topic