AddImage

AddImage(IImage)

Add an image to a presentation.

public IPPImage AddImage(IImage image)
ParameterTypeDescription
imageIImageImage to add.

Return Value

Added image.

Remarks

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

See Also


AddImage(MemoryStream)

Adds image from a memory stream.

public IPPImage AddImage(MemoryStream stream)
ParameterTypeDescription
streamMemoryStreamMemory stream.

Return Value

Added image.

See Also


AddImage(Stream)

Add an image to a presentation from stream.

public IPPImage AddImage(Stream stream)
ParameterTypeDescription
streamStreamStream 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


AddImage(Stream, LoadingStreamBehavior)

Creates and adds an image to a presentation from stream.

public IPPImage AddImage(Stream stream, LoadingStreamBehavior loadingStreamBehavior)
ParameterTypeDescription
streamStreamStream to add image file from.
loadingStreamBehaviorLoadingStreamBehaviorThe behavior which will be applied to the stream.

Return Value

Added IPPImage.

See Also


AddImage(byte[])

Adds an image to a presentation from specified buffer.

public IPPImage AddImage(byte[] buffer)
ParameterTypeDescription
bufferByte[]Buffer.

Return Value

Added image.

See Also


AddImage(IPPImage)

Adds a copy of an image from an another presentation.

public IPPImage AddImage(IPPImage imageSource)
ParameterTypeDescription
imageSourceIPPImageSource image.

Return Value

Added image.

See Also


AddImage(ISvgImage)

Add an image to a presentation from SVG object.

public IPPImage AddImage(ISvgImage svgImage)
ParameterTypeDescription
svgImageISvgImageSVG image object ISvgImage

Return Value

Added image.

Exceptions

exceptioncondition
ArgumentNullExceptionThrown when svgImage parameter is null.

See Also