IPPImage
Overview
IPPImage is a class in Aspose.Slides FOSS for .NET.
Represents a presentation-embedded image stored in an OPC package part.
This class provides 3 methods for working with IPPImage objects in .NET programs.
Available methods include: ReplaceImage.
All public members are accessible to any .NET application after installing the Aspose.Slides FOSS for .NET package.
Properties: BinaryData, ContentType, Height, Image, Width, X, and 1 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
BinaryData | byte[] | Read | Gets a copy of the image data as a byte array. |
Image | IImage | Read | Gets a copy of the image as an IImage instance. |
ContentType | string | Read | Gets the MIME content type of the image. |
Width | int | Read | Gets the image width in pixels. |
Height | int | Read | Gets the image height in pixels. |
X | int | Read | Gets the X-offset of the image. |
Y | int | Read | Gets the Y-offset of the image. |
Methods
| Signature | Description |
|---|---|
ReplaceImage(newImageData: byte[]) | Replaces this image with the specified raw byte data. |
ReplaceImage(newImage: IImage) | Replaces this image with data from the specified IImage. |
ReplaceImage(newImage: IPPImage) | Replaces this image with data from another IPPImage. |