com.aspose.slides
Class Picture

java.lang.Object
  extended by com.aspose.slides.PPImage
      extended by 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 com.aspose.slides.PPImage
getImage, getImageFormat, getParent, getRenderedImage, getRenderedImage, write
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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
Method Detail

getPictureId

public int getPictureId()
Returns the unique Id of a picture.