Extracts an image from a chunk of data and adds it to the current page.

 

   

Syntax
 

ImageID = Doc.AddImageData(Data, Frame)

 

   

Params
 
Name Type Description
Data Array of Bytes The data containing the image in a format such as JPEG or TIFF.
Frame Long Some image formats support multiple frames or pages. The first frame is frame one.
ImageID Long The ID of the newly added Image object.

 

   

Notes
 

Extracts an image from a chunk of data and adds it to the current page returning the ID of the newly added object.

This method is essentially the same as AddImageFile, but it allows you to add images specified as raw data rather than as a file path.

 

   

Example
 

None.