![]() |
||
Home Products Purchase Downloads Demos Forums Blogs Wiki API Corporate |
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.powerpoint.Picture
public final class Picture
Represents the picture in a presentation.
Constructor Summary | |
---|---|
Picture(Presentation parent,
java.io.InputStream stream)
This constructor gets a source stream from which the contents of the Picture are read. |
|
Picture(Presentation parent,
Picture 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. |
int |
getPictureId()
Returns the unique Id of a picture. |
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 Picture(Presentation parent, java.io.InputStream stream) throws PptReadException
parent
- the parent presentation.stream
- the input stream.
PptReadException
public Picture(Presentation parent, Picture src) throws PptReadException
parent
- the parent presentation.src
- source picture
PptReadException
Method Detail |
---|
public void write(java.io.OutputStream stream) throws PptWriteException
stream
- the output stream.
PptWriteException
public byte[] getImage()
public Presentation getParent()
public int getImageFormat()
ImageFormat
.public int getPictureId()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |