AddImage
Contents
[
Hide
]AddImage(IPPImage)
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
- interface IPPImage
- class ImageCollection
- namespace Aspose.Slides
- assembly Aspose.Slides
AddImage(IImage)
Add an image to a presentation.
public IPPImage AddImage(IImage image)
Parameter | Type | Description |
---|---|---|
image | IImage | 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
- interface IPPImage
- interface IImage
- class ImageCollection
- namespace Aspose.Slides
- assembly Aspose.Slides
AddImage(MemoryStream)
Add an image to a presentation from stream.
public IPPImage AddImage(MemoryStream stream)
Parameter | Type | Description |
---|---|---|
stream | MemoryStream | 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
- interface IPPImage
- class ImageCollection
- namespace Aspose.Slides
- assembly Aspose.Slides
AddImage(Stream)
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
- interface IPPImage
- class ImageCollection
- namespace Aspose.Slides
- assembly Aspose.Slides
AddImage(Stream, LoadingStreamBehavior)
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
- interface IPPImage
- enum LoadingStreamBehavior
- class ImageCollection
- namespace Aspose.Slides
- assembly Aspose.Slides
AddImage(byte[])
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
- interface IPPImage
- class ImageCollection
- namespace Aspose.Slides
- assembly Aspose.Slides
AddImage(ISvgImage)
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 | When svgImage parameter is null. |
See Also
- interface IPPImage
- interface ISvgImage
- class ImageCollection
- namespace Aspose.Slides
- assembly Aspose.Slides