PdfDocument.AddImage Method (Stream)

Adds new image(s) with the data and properties read from the specified stream 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(
	Stream stream
)
VB
Public Function AddImage ( 
	stream As Stream
) As PdfImage

Parameters

stream
Type: System.IO.Stream
The stream with image data.

Return Value

Type: PdfImage
The PdfImage for the first frame (page) read from the stream.

Remarks

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

See Also