IImageCollectionAddImage Method (Stream, LoadingStreamBehavior)

Creates and adds an image to a presentation from stream.

Namespace:  Aspose.Slides
Assembly:  Aspose.Slides (in Aspose.Slides.dll) Version: 21.11.0.0 (21.11)
Syntax
IPPImage AddImage(
	Stream stream,
	LoadingStreamBehavior loadingStreamBehavior
)

Parameters

stream
Type: System.IOStream
Stream to add image file from.
loadingStreamBehavior
Type: Aspose.SlidesLoadingStreamBehavior
The behavior which will be applied to the stream.

Return Value

Type: IPPImage
Added IPPImage.
See Also