EmbeddedFile Constructors

Overloads

EmbeddedFile(Byte[], String, DateTime)Initializes a new instance of the EmbeddedFile class.
EmbeddedFile(FileStream, String, DateTime)Initializes a new instance of the EmbeddedFile class.
EmbeddedFile(String)Initializes a new instance of the EmbeddedFile class.

EmbeddedFile(Byte[], String, DateTime)

Initializes a new instance of the EmbeddedFile class.

public EmbeddedFile(Byte[] file, string fileName, DateTime modifiedDate)
Public Sub New (file As Byte(), fileName As String, modifiedDate As Date)

Parameters

file
Byte[]

The byte array of the file need to be Embedded

fileName
String

Name of the File Embedded

modifiedDate
DateTime

Last modified date of the file

Licensing Info

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

EmbeddedFile(FileStream, String, DateTime)

Initializes a new instance of the EmbeddedFile class.

public EmbeddedFile(FileStream file, string fileName, DateTime modifiedDate)
Public Sub New (file As FileStream, fileName As String, modifiedDate As Date)

Parameters

file
FileStream

The FileStream of the file need to be Embedded

fileName
String

Name of the File Embedded

modifiedDate
DateTime

Last modified date of the file

Licensing Info

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

EmbeddedFile(String)

Initializes a new instance of the EmbeddedFile class.

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

Parameters

filePath
String

The physical path to the file need to be Embedded

Licensing Info

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

See Also

EmbeddedFile
ceTe.DynamicPDF

In this topic