EmbeddedFile EmbeddedFile Function. EmbeddedFile Constructor. ABCpdf .NET PDF Library.

ABCpdf .net

 
   

EmbeddedFile Constructor

 

   
Syntax  

[C#]
EmbeddedFile(ObjectSoup soup)
EmbeddedFile(ObjectSoup soup, string path)
EmbeddedFile(ObjectSoup soup, byte[] data)

[Visual Basic]
Sub New(soup As ObjectSoup)
Sub New(soup As ObjectSoup, path As String)
Sub New(soup As ObjectSoup, data() As Byte)

 

   

Params
 
Name Description
soup The ObjectSoup to contain the newly created EmbeddedFile.
path A path to a file containing data which should be placed in the EmbeddedFile.
data An array of bytes which should be placed in the EmbeddedFile.

 

   

Notes
 

Create an EmbeddedFile.

This constructor which takes a path to a file will embed and compress the file data using using the CompressFlate function. It will also insert appropriate metadata using the UpdateMetadata function.

The constructor which takes an array of data will similarly embed and compress the data. However since there is no file path metadata will not be assigned.

 

   

Example
 

None.