 |
| IXlsOLEObject |
 |
COM interface ( getting help with interfaces )
interface IXlsOLEObject : IDispatch
{
[id(1),propget] HRESULT LeftColumn([out, retval]int* col1);
[id(2),propget] HRESULT RightColumn([out, retval]int* col2);
[id(3),propget] HRESULT TopCell([out, retval]int* row1);
[id(4),propget] HRESULT BottomCell([out, retval]int* row2);
[id(5),propget] HRESULT LeftOffset([out, retval]int* offset);
[id(6),propget] HRESULT RightOffset([out, retval]int* offset);
[id(7),propget] HRESULT TopOffset([out, retval]int* offset);
[id(8),propget] HRESULT BottomOffset([out, retval]int* offset);
[id(9),propget] HRESULT Filetype([out, retval]BSTR* filetype);
[id(10)] HRESULT ExtractToFile([in]BSTR filename);
[id(11)] HRESULT ExtractToMemory([in]IUnknown* lockbytes);
[id(12),propget] HRESULT SnapshotFiletype([out, retval]BSTR* snapshotfiletype);
[id(13)] HRESULT ExtractSnapshotToFile([in]BSTR snapshotfilename);
[id(14),propget] HRESULT FileContentType([out, retval]BSTR* filecontenttype);
[id(15),propget] HRESULT ServerGUID([out, retval]BSTR* serverguid);
}
HRESULT LeftColumn([out, retval]int* col1);
returns the left worksheet column of the OLE object.
HRESULT RightColumn([out, retval]int* col2);
returns the right worksheet column of the OLE object.
HRESULT TopCell([out, retval]int* row1);
returns the top worksheet row of the OLE object.
HRESULT BottomCell([out, retval]int* row2);
returns the bottom worksheet row of the OLE object.
HRESULT LeftOffset([out, retval]int* offset);
returns the left worksheet column offset of the OLE object. Value is 0 if it coincides with the worksheet grid.
HRESULT RightOffset([out, retval]int* offset);
returns the right worksheet column offset of the OLE object. Value is 0 if it coincides with the worksheet grid.
HRESULT TopOffset([out, retval]int* offset);
returns the top worksheet row offset of the OLE object. Value is 0 if it coincides with the worksheet grid.
HRESULT BottomOffset([out, retval]int* offset);
returns the bottom worksheet rowoffset of the OLE object. Value is 0 if it coincides with the worksheet grid.
HRESULT Filetype([out, retval]BSTR* filetype);
returns the filetype of the OLE object, for instance "pdf" if the OLE object is a PDF file.
HRESULT ExtractToFile([in]BSTR filename);
saves a copy of the OLE object in the file whole filepath is passed as parameter.
HRESULT ExtractToMemory([in]IUnknown* lockbytes);
saves a copy of the OLE object in memory, to a ILockBytes passed in parameter.
HRESULT SnapshotFiletype([out, retval]BSTR* snapshotfiletype);
returns the filetype of the snapshot of the OLE object, for instance "emf" if the OLE object snapshot is a EMF image (Windows enhanced metafile).
HRESULT ExtractSnapshotToFile([in]BSTR snapshotfilename);
saves a copy of the OLE object snapshot in the file whose filepath is passed as parameter.
HRESULT FileContentType([out, retval]BSTR* filecontenttype);
returns the file content type of the OLE object, for instance \"Acrobat Document\". The content type is OLE server specific.
HRESULT ServerGUID([out, retval]BSTR* serverguid);
returns the unique identifier of the server able to process this document (and nothing in the case of an OLE link). The id varies, for instance for a PDF document, depending on the PDF component used to insert the OLE object in the first place.