|
|||||||||
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.io.InputStream stream)
This constructor gets a source stream from which the contents of the Picture is read. |
|
PPImage(Presentation parent,
PPImage src)
This constructor gets another picture as a source. |
Method Summary | |
---|---|
byte[] |
getImage()
Returns an Image object. |
int |
getImageFormat()
Returns the format of a picture. |
Presentation |
getParent()
Returns the parent presentation for a picture. |
java.awt.image.RenderedImage |
getRenderedImage()
|
java.awt.image.RenderedImage |
getRenderedImage(int w,
int h)
|
void |
write(java.io.OutputStream stream)
Writes picture to a stream. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PPImage(Presentation parent, java.io.InputStream stream) throws PptImageException
parent
- the parent presentation.stream
- the input stream.
PptImageException
public PPImage(Presentation parent, PPImage src) throws PptImageException
parent
- the parent presentation.src
- source picture
PptImageException
Method Detail |
---|
public void write(java.io.OutputStream stream) throws PptImageException
stream
- the output stream.
PptImageException
public byte[] getImage()
public java.awt.image.RenderedImage getRenderedImage(int w, int h)
public java.awt.image.RenderedImage getRenderedImage()
public Presentation getParent()
public int getImageFormat()
ImageFormat
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |