com.aspose.cells
Class OleObjectCollection

java.lang.Object
  extended by CollectionBase
      extended by com.aspose.cells.OleObjectCollection
All Implemented Interfaces:
java.lang.Iterable

public class OleObjectCollection 
extends CollectionBase

Represents embedded OLE objects.

Property Getters/Setters Summary
intgetCount()→ inherited from com.aspose.cells.CollectionBase
          
OleObjectget(int index)
           Gets the OleObject element at the specified index.
 
Method Summary
intadd(int upperLeftRow, int upperLeftColumn, int height, int width, byte[] imageData)
           Adds an OleObject to the collection.
intadd(java.lang.Object value)→ inherited from com.aspose.cells.CollectionBase
          Reserved for internal use.
voidclear()→ inherited from com.aspose.cells.CollectionBase
          
booleancontains(java.lang.Object value)→ inherited from com.aspose.cells.CollectionBase
          Reserved for internal use.
java.lang.Objectget(int index)→ inherited from com.aspose.cells.CollectionBase
          Reserved for internal use.
intindexOf(java.lang.Object value)→ inherited from com.aspose.cells.CollectionBase
          Reserved for internal use.
java.util.Iteratoriterator()→ inherited from com.aspose.cells.CollectionBase
          
voidremoveAt(int index)→ inherited from com.aspose.cells.CollectionBase
          
 

Property Getters/Setters Detail

getCount

→ inherited from com.aspose.cells.CollectionBase
public int getCount()

get

public OleObject get(int index)
Gets the OleObject 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 height, int width, byte[] imageData)
       throws java.lang.Exception
Adds an OleObject to the collection.
Parameters:
upperLeftRow - Upper left row index.
upperLeftColumn - Upper left column index.
height - Height of oleObject, in unit of pixel.
width - Width of oleObject, in unit of pixel.
imageData - Image of ole object as byte array.
Returns:
OleObject object index.

clear

→ inherited from com.aspose.cells.CollectionBase
public void clear()

removeAt

→ inherited from com.aspose.cells.CollectionBase
public void removeAt(int index)

iterator

→ inherited from com.aspose.cells.CollectionBase
public java.util.Iterator iterator()

get

→ inherited from com.aspose.cells.CollectionBase
public java.lang.Object get(int index)
Reserved for internal use.

contains

→ inherited from com.aspose.cells.CollectionBase
public boolean contains(java.lang.Object value)
Reserved for internal use.

add

→ inherited from com.aspose.cells.CollectionBase
public int add(java.lang.Object value)
Reserved for internal use.

indexOf

→ inherited from com.aspose.cells.CollectionBase
public int indexOf(java.lang.Object value)
Reserved for internal use.

See Also:
          Aspose.Cells Documentation - the home page for the Aspose.Cellss Product Documentation.
          Aspose.Cells Support Forum - our preferred method of support.