com.aspose.slides
Class Picture
java.lang.Object
com.aspose.slides.PPImage
com.aspose.slides.Picture
public class Picture
- extends PPImage
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,
PPImage src)
This constructor gets another picture as a source. |
Method Summary |
int |
getPictureId()
Returns the unique Id of a picture. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Picture
public Picture(Presentation parent,
java.io.InputStream stream)
throws PptImageException
- This constructor gets a source stream from which the contents of the
Picture are read.
- Parameters:
parent
- the parent presentation.stream
- the input stream.
- Throws:
PptImageException
Picture
public Picture(Presentation parent,
PPImage src)
throws PptImageException
- This constructor gets another picture as a source.
- Parameters:
parent
- the parent presentation.src
- source picture
- Throws:
PptImageException
getPictureId
public int getPictureId()
- Returns the unique Id of a picture.