OleObjectCollection

OleObjectCollection class

Represents embedded OLE objects.

Methods

NameDescription
add(upperLeftRow, upperLeftColumn, height, width, imageData)Adds an OleObject to the collection.
add(upperLeftRow, upperLeftColumn, height, width, imageData, linkedFile)Adds a linked OleObject to the collection.
add()Reserved for internal use.
clear()Remove all embedded OLE objects.
contains()Reserved for internal use.
get(index)Gets the OleObject element at the specified index.
get()Reserved for internal use.
getCount()
indexOf()Reserved for internal use.
iterator()
removeAt(index)Removes the element at the specified index.

add(upperLeftRow, upperLeftColumn, height, width, imageData)

Adds an OleObject to the collection.

ParameterTypeDescription
upperLeftRowUpper left row index.
upperLeftColumnUpper left column index.
heightNumberHeight of oleObject, in unit of pixel.
widthNumberWidth of oleObject, in unit of pixel.
imageDataArray of byteImage of ole object as byte array.

Returns: Number — Number OleObject object index.

add(upperLeftRow, upperLeftColumn, height, width, imageData, linkedFile)

Adds a linked OleObject to the collection.

ParameterTypeDescription
upperLeftRowUpper left row index.
upperLeftColumnUpper left column index.
heightNumberHeight of oleObject, in unit of pixel.
widthNumberWidth of oleObject, in unit of pixel.
imageDataArray of byteImage of ole object as byte array.
linkedFileString

Returns: Number — Number OleObject object index.

add()

Reserved for internal use.

clear()

Remove all embedded OLE objects.

contains()

Reserved for internal use.

get(index)

Gets the OleObject element at the specified index.

ParameterTypeDescription
indexNumberThe zero based index of the element.

Returns: OleObject — OleObject The element at the specified index.

get()

Reserved for internal use.

getCount()

indexOf()

Reserved for internal use.

iterator()

removeAt(index)

Removes the element at the specified index.

ParameterTypeDescription
indexNumberThe specified index.