|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.slides.PPImage
public abstract class PPImage
Represents an abstract image used in a presentation.
Constructor Summary | |
---|---|
PPImage(Presentation parent,
java.awt.image.BufferedImage bitmap)
This constructor gets an Image source. |
|
PPImage(Presentation parent,
java.io.InputStream stream)
|
|
PPImage(Presentation parent,
java.lang.String file)
This constructor gets a source file path from which the contents of a Picture are read. |
Method Summary | |
---|---|
java.awt.image.BufferedImage |
getImage()
Returns an Image object or <B>null</B> for PICT images. |
java.lang.String |
getImageFormat()
Returns format of the picture. |
Presentation |
getParent()
Returns the parent presentation. |
void |
write(java.io.OutputStream stream)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PPImage(Presentation parent, java.awt.image.BufferedImage bitmap)
This constructor gets an Image source.
parent
- Parent presentation.bitmap
- Source image.public PPImage(Presentation parent, java.io.InputStream stream)
public PPImage(Presentation parent, java.lang.String file)
This constructor gets a source file path from which the contents of a Picture are read.
parent
- Parent presentation.file
- Input file.Method Detail |
---|
public void write(java.io.OutputStream stream)
public java.awt.image.BufferedImage getImage()
Returns an Image object or <B>null</B>
for PICT images.
Read-only System.Drawing.Image
.
public Presentation getParent()
Returns the parent presentation.
Read-only Presentation
.
public java.lang.String getImageFormat()
Returns format of the picture.
Read-only System.Drawing.Imaging.ImageFormat
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |