Adds new image(s) with the data and properties read from the buffer with image bytes to the end of the collection of document images.

Namespace:  BitMiracle.Docotic.Pdf
Assembly:  BitMiracle.Docotic.Pdf (in BitMiracle.Docotic.Pdf.dll)

Syntax

C#
public PdfImage AddImage(
	byte[] imageBuffer
)
VB
Public Function AddImage ( 
	imageBuffer As Byte()
) As PdfImage

Parameters

imageBuffer
Type: System.Byte[]
The buffer with the image bytes from which to create PdfImage(s).

Return Value

Type: PdfImage
The PdfImage for the first frame (page) read from the buffer with image bytes.

Remarks

This method adds a new image for each frame (page) read from the buffer with image bytes.

See Also