AddImage

IImageCollection.AddImage method (1 of 7)

Add an image to a presentation.

public IPPImage AddImage(Image image)
Parameter Type Description
image Image Image to add.

Return Value

Added image.

Remarks

This method converts WMF/EMF metafiles to raster PNG image before inserting to a presentation.

See Also


IImageCollection.AddImage method (2 of 7)

Adds image from a memory stream.

public IPPImage AddImage(MemoryStream stream)
Parameter Type Description
stream MemoryStream Memory stream.

Return Value

Added image.

See Also


IImageCollection.AddImage method (3 of 7)

Add an image to a presentation from stream.

public IPPImage AddImage(Stream stream)
Parameter Type Description
stream Stream Stream to add image from.

Return Value

Added image.

Remarks

This method can add WMF/EMF metafiles to a presentation without converting them to raster PNG image.

See Also


IImageCollection.AddImage method (4 of 7)

Creates and adds an image to a presentation from stream.

public IPPImage AddImage(Stream stream, LoadingStreamBehavior loadingStreamBehavior)
Parameter Type Description
stream Stream Stream to add image file from.
loadingStreamBehavior LoadingStreamBehavior The behavior which will be applied to the stream.

Return Value

Added IPPImage.

See Also


IImageCollection.AddImage method (5 of 7)

Adds an image to a presentation from specified buffer.

public IPPImage AddImage(byte[] buffer)
Parameter Type Description
buffer Byte[] Buffer.

Return Value

Added image.

See Also


IImageCollection.AddImage method (6 of 7)

Adds a copy of an image from an another presentation.

public IPPImage AddImage(IPPImage imageSource)
Parameter Type Description
imageSource IPPImage Source image.

Return Value

Added image.

See Also


IImageCollection.AddImage method (7 of 7)

Add an image to a presentation from SVG object.

public IPPImage AddImage(ISvgImage svgImage)
Parameter Type Description
svgImage ISvgImage SVG image object ISvgImage

Return Value

Added image.

Exceptions

exception condition
ArgumentNullException Thrown when svgImage parameter is null.

See Also