aspose.cells
Class OleObjectCollection

Represents embedded OLE objects.

Property Getters/Setters Summary
functiongetCount()
          
functionget(index)
           Gets the OleObject element at the specified index.
 
Method Summary
functionadd(upperLeftRow, upperLeftColumn, height, width, imageData)
           Adds an OleObject to the collection.
functionadd(upperLeftRow, upperLeftColumn, height, width, imageData, linkedFile)
           Adds an linked OleObject to the collection.
functionadd(value)→ inherited from CollectionBase
          Reserved for internal use.
functionclear()
           Remove all embedded OLE objects.
functioncontains(value)→ inherited from CollectionBase
          Reserved for internal use.
functionget(index)→ inherited from CollectionBase
          Reserved for internal use.
functionindexOf(value)→ inherited from CollectionBase
          Reserved for internal use.
functioniterator()→ inherited from CollectionBase
          
functionremoveAt(index)
           Removes the element at the specified index.
 

Property Getters/Setters Detail

getCount : Number 

function getCount()

get : OleObject 

function 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

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

add

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

clear

function clear()
Remove all embedded OLE objects.

removeAt

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

iterator

function iterator()

get

function get(index)
Reserved for internal use.

contains

function contains(value)
Reserved for internal use.

add

function add(value)
Reserved for internal use.

indexOf

function 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.