Aspose::Cells::Drawing::OleObjectCollection class

OleObjectCollection class

Represents embedded OLE objects.

class OleObjectCollection

Methods

MethodDescription
Add(int32_t upperLeftRow, int32_t upperLeftColumn, int32_t height, int32_t width, const Vector <uint8_t>& imageData)Adds an OleObject to the collection.
Add(int32_t upperLeftRow, int32_t upperLeftColumn, int32_t height, int32_t width, const Vector <uint8_t>& imageData, const U16String& linkedFile)Adds a linked OleObject to the collection.
Add(int32_t upperLeftRow, int32_t upperLeftColumn, int32_t height, int32_t width, const Vector <uint8_t>& imageData, const char16_t* linkedFile)Adds a linked OleObject to the collection.
Clear()Remove all embedded OLE objects.
Get(int32_t index)Gets the OleObject element at the specified index.
GetCount()
IsNull() constChecks whether the implementation object is nullptr.
OleObjectCollection(OleObjectCollection_Impl* impl)Constructs from an implementation object.
OleObjectCollection(const OleObjectCollection& src)Copy constructor.
explicit operator bool() constoperator bool()
operator=(const OleObjectCollection& src)operator=
RemoveAt(int32_t index)Removes the element at the specified index.
~OleObjectCollection()Destructor.

Fields

FieldDescription
_implThe implementation object.

See Also