com.aspose.slides
Class Picture

java.lang.Object
  extended by com.aspose.slides.PPImage
      extended by com.aspose.slides.Picture

public final class Picture
extends PPImage

Represents a picture in a presentation.


Constructor Summary
Picture(Presentation parent, java.awt.image.BufferedImage bitmap)
           This constructor gets an Image source.
Picture(Presentation parent, java.io.InputStream stream)
           
Picture(Presentation parent, java.lang.String file)
           This constructor gets a source file path from which the contents of a Picture are read.
 
Method Summary
 int getPictureId()
           Returns unique ID of the picture.
 
Methods inherited from class com.aspose.slides.PPImage
getImage, getImageFormat, getParent, 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.awt.image.BufferedImage bitmap)

This constructor gets an Image source.

Parameters:
parent - Parent presentation.
bitmap - Source image.

Picture

public Picture(Presentation parent,
               java.io.InputStream stream)

Picture

public Picture(Presentation parent,
               java.lang.String file)

This constructor gets a source file path from which the contents of a Picture are read.

Parameters:
parent - Parent presentation.
file - Input file.
Method Detail

getPictureId

public int getPictureId()

Returns unique ID of the picture. Read-only int.