com.aspose.cells

Class PictureCollection

  • All Implemented Interfaces:
    java.lang.Iterable
    public class PictureCollection 
    extends CollectionBase

Encapsulates a collection of Picture objects.

Property Getters/Setters Summary
intgetCount()
Pictureget(intindex)
Gets the Picture element at the specified index.
 
Method Summary
intadd(intupperLeftRow, intupperLeftColumn, intlowerRightRow, intlowerRightColumn, java.io.InputStreamstream)
Adds a picture to the collection.
intadd(intupperLeftRow, intupperLeftColumn, intlowerRightRow, intlowerRightColumn, java.lang.StringfileName)
Adds a picture to the collection.
intadd(intupperLeftRow, intupperLeftColumn, java.io.InputStreamstream)
Adds a picture to the collection.
intadd(intupperLeftRow, intupperLeftColumn, java.io.InputStreamstream, intwidthScale, intheightScale)
Adds a picture to the collection.
intadd(intupperLeftRow, intupperLeftColumn, java.lang.StringfileName)
Adds a picture to the collection.
intadd(intupperLeftRow, intupperLeftColumn, java.lang.StringfileName, intwidthScale, intheightScale)
Adds a picture to the collection.
intadd(java.lang.Objectvalue)
Reserved for internal use.
voidclear()
Clear all pictures.
booleancontains(java.lang.Objectvalue)
Reserved for internal use.
java.lang.Objectget(intindex)
Reserved for internal use.
intindexOf(java.lang.Objectvalue)
Reserved for internal use.
java.util.Iteratoriterator()
voidremoveAt(intindex)
Remove shapes at the specific index
 

    • Property Getters/Setters Detail

      • getCount

        public int getCount()
        
      • get

        public Picture get(int index)
        
        Gets the Picture element at the specified index.
        Parameters:
        index - The zero based index of the element.
        Returns:
        The element at the specified index.
    • Method Detail

      • add

        public int add(int upperLeftRow, int upperLeftColumn, int lowerRightRow, int lowerRightColumn, java.io.InputStream stream)
        Adds a picture to the collection.
        Parameters:
        upperLeftRow - Upper left row index.
        upperLeftColumn - Upper left column index.
        lowerRightRow - Lower right row index
        lowerRightColumn - Lower right column index
        stream - Stream object which contains the image data.
        Returns:
        Picture object index.
      • add

        public int add(int upperLeftRow, int upperLeftColumn, int lowerRightRow, int lowerRightColumn, java.lang.String fileName)
               throws java.lang.Exception
        Adds a picture to the collection.
        Parameters:
        upperLeftRow - Upper left row index.
        upperLeftColumn - Upper left column index.
        lowerRightRow - Lower right row index
        lowerRightColumn - Lower right column index
        fileName - Image filename.
        Returns:
        Picture object index.
      • add

        public int add(int upperLeftRow, int upperLeftColumn, java.io.InputStream stream)
        Adds a picture to the collection.
        Parameters:
        upperLeftRow - Upper left row index.
        upperLeftColumn - Upper left column index.
        stream - Stream object which contains the image data.
        Returns:
        Picture object index.
      • add

        public int add(int upperLeftRow, int upperLeftColumn, java.lang.String fileName)
               throws java.lang.Exception
        Adds a picture to the collection.
        Parameters:
        upperLeftRow - Upper left row index.
        upperLeftColumn - Upper left column index.
        fileName - Image filename.
        Returns:
        Picture object index.
      • add

        public int add(int upperLeftRow, int upperLeftColumn, java.io.InputStream stream, int widthScale, int heightScale)
        Adds a picture to the collection.
        Parameters:
        upperLeftRow - Upper left row index.
        upperLeftColumn - Upper left column index.
        stream - Stream object which contains the image data.
        widthScale - Scale of image width, a percentage.
        heightScale - Scale of image height, a percentage.
        Returns:
        Picture object index.
      • add

        public int add(int upperLeftRow, int upperLeftColumn, java.lang.String fileName, int widthScale, int heightScale)
               throws java.lang.Exception
        Adds a picture to the collection.
        Parameters:
        upperLeftRow - Upper left row index.
        upperLeftColumn - Upper left column index.
        fileName - Image filename.
        widthScale - Scale of image width, a percentage.
        heightScale - Scale of image height, a percentage.
        Returns:
        Picture object index.
      • clear

        public void clear()
        Clear all pictures.
      • removeAt

        public void removeAt(int index)
        Remove shapes at the specific index
      • iterator

        public java.util.Iterator iterator()
      • get

        public java.lang.Object get(int index)
        Reserved for internal use.
      • contains

        public boolean contains(java.lang.Object value)
        Reserved for internal use.
      • add

        public int add(java.lang.Object value)
        Reserved for internal use.
      • indexOf

        public int indexOf(java.lang.Object value)
        Reserved for internal use.