IXlsVisualComponent
COM interface ( getting help with interfaces )

 

interface IXlsVisualComponent : IDispatch
{
  [id(1),propget] HRESULT Count([out, retval] long* lCount);
  [id(2),propget] HRESULT ParameterByIndex([in] int Index, [out, retval] IXlsVisualComponentParameter** parameter);
  [id(3),propget] HRESULT ParameterByName([in] BSTR Name, [out, retval] IXlsVisualComponentParameter** parameter);
  [id(4)        ] HRESULT ExtractToFile([out, retval]BSTR* filename);
  [id(5)        ] HRESULT ExtractToMemory([in]IUnknown* lockbytes);
}

 

HRESULT Count([out, retval] long* lCount);
returns the number of parameters available.

HRESULT ParameterByIndex([in] int Index, [out, retval] IXlsVisualComponentParameter** parameter);
returns a parameter identified by its Index (starts at 1).

HRESULT ParameterByName([in] BSTR Name, [out, retval] IXlsVisualComponentParameter** parameter);
returns a parameter identified by its Name. A parameter is usually of the form 'GetHeight' for a getter, or 'SetHeight' for a setter.

HRESULT ExtractToFile([out, retval]BSTR* filename);
creates a snapshot of the visual component as a picture in a file (PNG file format) and returns the filename.

HRESULT ExtractToMemory([in]IUnknown* lockbytes);
creates a snapshot of the visual component as a picture in memory. PNG buffer.