asposecells.api
Class OleObjectCollection

Represents embedded OLE objects.

Property Getters/Setters Summary
methodgetCount()
          
methodget(index)
           Gets the OleObject element at the specified index.
 
Method Summary
methodadd(upperLeftRow, upperLeftColumn, height, width, imageData)
           Adds an OleObject to the collection.
methodadd(upperLeftRow, upperLeftColumn, height, width, imageData, linkedFile)
           Adds an linked OleObject to the collection.
methodadd(value)→ inherited from CollectionBase
          Reserved for internal use.
methodclear()
           Remove all embedded OLE objects.
methodcontains(value)→ inherited from CollectionBase
          Reserved for internal use.
methodget(index)→ inherited from CollectionBase
          Reserved for internal use.
methodindexOf(value)→ inherited from CollectionBase
          Reserved for internal use.
methoditerator()→ inherited from CollectionBase
          
methodremoveAt(index)
           Removes the element at the specified index.
 

Property Getters/Setters Detail

getCount : int 

int getCount()

get : OleObject 

OleObject get(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

int add(upperLeftRow, upperLeftColumn, height, width, imageData)
Adds an OleObject to the collection.
Parameters:
upperLeftRow: int - Upper left row index.
upperLeftColumn: int - Upper left column index.
height: int - Height of oleObject, in unit of pixel.
width: int - Width of oleObject, in unit of pixel.
imageData: byte[] - Image of ole object as byte array.
Returns:
OleObject object index.

add

int add(upperLeftRow, upperLeftColumn, height, width, imageData, linkedFile)
Adds an linked OleObject to the collection.
Parameters:
upperLeftRow: int - Upper left row index.
upperLeftColumn: int - Upper left column index.
height: int - Height of oleObject, in unit of pixel.
width: int - Width of oleObject, in unit of pixel.
imageData: byte[] - Image of ole object as byte array.
linkedFile: String -
Returns:
OleObject object index.

clear

 clear()
Remove all embedded OLE objects.

removeAt

 removeAt(index)
Removes the element at the specified index.
Parameters:
index: int - The specified index.

iterator

Iterator iterator()

get

Object get(index)
Reserved for internal use.

contains

boolean contains(value)
Reserved for internal use.

add

int add(value)
Reserved for internal use.

indexOf

int indexOf(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.