PPImage
PPImage class
Represents an image in a presentation.
dispose
Name | Description |
---|---|
dispose () | Disposes object. |
Returns: void
getBinaryData
Name | Description |
---|---|
getBinaryData () | Returns the copy of an image’s data. Read-only byte[]. |
Returns: byte
getContentType
Name | Description |
---|---|
getContentType () | Returns a MIME type of an image, encoded in BinaryData( #getBinaryData). Read-only String. |
Returns: String
getHeight
Name | Description |
---|---|
getHeight () | Returns a height of an image. Read-only int. |
Returns: int
getImage
Name | Description |
---|---|
getImage () | Returns the copy of an image. Read-only IImage. |
Returns: IImage
getSvgImage
Name | Description |
---|---|
getSvgImage () | Returns or sets ISvgImage object ISvgImage This value indicates that this image has been created from SVG. |
Returns: SvgImage
getSystemImage
Name | Description |
---|---|
getSystemImage () | Returns the copy of an image. Read-only java.awt.image.BufferedImage. |
Returns: BufferedImage
getWidth
Name | Description |
---|---|
getWidth () | Returns a width of an image. Read-only int. |
Returns: int
getX
Name | Description |
---|---|
getX () | Returns a X-offset of an image. Read-only int. |
Returns: int
getY
Name | Description |
---|---|
getY () | Returns a Y-offset of an image. Read-only int. |
Returns: int
hashCode
Name | Description |
---|---|
hashCode () | Returns the hash code of an image. |
Returns: int
replaceImage
Name | Description |
---|---|
replaceImage (byte[]) | Replaces image data. |
Parameters:
Name | Type | Description |
---|---|---|
newImageData | byte[] | The new image’s data. |
Returns: void
Exception
Error | Condition |
---|---|
ArgumentNullException | When newImageData parameter is null. |
replaceImage
Name | Description |
---|---|
replaceImage (IImage) | Replaces image data. Attention: when Image is metafile - it will be rasterized. Use replaceImage(byte[]) instead |
Parameters:
Name | Type | Description |
---|---|---|
newImage | IImage | The new image. |
Returns: void
Exception
Error | Condition |
---|---|
ArgumentNullException | When newImage parameter is null. |
replaceImage
Name | Description |
---|---|
replaceImage (PPImage) | Replaces image data. |
Parameters:
Name | Type | Description |
---|---|---|
newImage | PPImage | The new IPPImage. |
Returns: void
Exception
Error | Condition |
---|---|
ArgumentNullException | When newImage parameter is null. |
setSvgImage
Name | Description |
---|---|
setSvgImage (SvgImage) | Returns or sets ISvgImage object ISvgImage This value indicates that this image has been created from SVG. |
Returns: void