IXlsPictures
COM interface ( getting help with interfaces )

 

interface IXlsPictures : IDispatch
{
  [id(1)        ] HRESULT Add([in]BSTR filename, [out, retval]IXlsPicture** picture);
  [id(2)        ] HRESULT AddInMemory([in]VARIANT inputBytearray, [in]enumPictureType picType, [out, retval]IXlsPicture** picture);
  [id(3),propget] HRESULT Count([out, retval]int* nbpictures);
  [id(4),propget] HRESULT Item([in]int i, [out, retval]IXlsPicture** picture);
  [id(5),propget] HRESULT ItemByName([in]BSTR name, [out, retval]IXlsPicture** picture);

}

 

HRESULT Add([in]BSTR filename, [out, retval]IXlsPicture** picture);
adds a picture. File formats supported are BMP/GIF/JPG/PNG/DIB/WMF/EMF/WEBP.

HRESULT AddInMemory([in]VARIANT inputBytearray, [in]enumPictureType picType, [out, retval]IXlsPicture** picture)
adds a picture whose buffer is passed as a byte array. File formats supported are BMP/GIF/JPG/PNG/DIB/WMF/EMF/WEBP.
HRESULT Count([out, retval]int* nbpictures);
returns how many pictures are stored.
HRESULT Item([in]int i, [out, retval]IXlsPicture** picture);
returns the i-th picture.
HRESULT ItemByName([in]BSTR name, [out, retval]IXlsPicture** picture);
returns the picture from its name.