Aspose::Cells::Drawing::OleObjectCollection::Add method

OleObjectCollection::Add(int32_t, int32_t, int32_t, int32_t, const Vector <uint8_t>&) method

Adds an OleObject to the collection.

int32_t Aspose::Cells::Drawing::OleObjectCollection::Add(int32_t upperLeftRow, int32_t upperLeftColumn, int32_t height, int32_t width, const Vector<uint8_t> &imageData)
ParameterTypeDescription
upperLeftRowint32_tUpper left row index.
upperLeftColumnint32_tUpper left column index.
heightint32_tHeight of oleObject, in unit of pixel.
widthint32_tWidth of oleObject, in unit of pixel.
imageDataconst Vector <uint8_t>&Image of ole object as byte array.

ReturnValue

OleObject object index.

See Also

OleObjectCollection::Add(int32_t, int32_t, int32_t, int32_t, const Vector <uint8_t>&, const U16String&) method

Adds a linked OleObject to the collection.

int32_t Aspose::Cells::Drawing::OleObjectCollection::Add(int32_t upperLeftRow, int32_t upperLeftColumn, int32_t height, int32_t width, const Vector<uint8_t> &imageData, const U16String &linkedFile)
ParameterTypeDescription
upperLeftRowint32_tUpper left row index.
upperLeftColumnint32_tUpper left column index.
heightint32_tHeight of oleObject, in unit of pixel.
widthint32_tWidth of oleObject, in unit of pixel.
imageDataconst Vector <uint8_t>&Image of ole object as byte array.
linkedFileconst U16String&

ReturnValue

OleObject object index.

See Also

OleObjectCollection::Add(int32_t, int32_t, int32_t, int32_t, const Vector <uint8_t>&, const char16_t*) method

Adds a linked OleObject to the collection.

int32_t Aspose::Cells::Drawing::OleObjectCollection::Add(int32_t upperLeftRow, int32_t upperLeftColumn, int32_t height, int32_t width, const Vector<uint8_t> &imageData, const char16_t *linkedFile)
ParameterTypeDescription
upperLeftRowint32_tUpper left row index.
upperLeftColumnint32_tUpper left column index.
heightint32_tHeight of oleObject, in unit of pixel.
widthint32_tWidth of oleObject, in unit of pixel.
imageDataconst Vector <uint8_t>&Image of ole object as byte array.
linkedFileconst char16_t*

ReturnValue

OleObject object index.

See Also