IXlsShape |
interface IXlsShape : 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 Name([out, retval]BSTR* shapename); [id(10) ] HRESULT Delete(); [id(11) ] HRESULT BringToFront(); [id(12),propget] HRESULT Type([out, retval]int* shapetype); [id(13) ] HRESULT ExtractToFile([out, retval]BSTR* filename); [id(14) ] HRESULT ExtractToMemory([in]IUnknown* lockbytes); [id(15),propget] HRESULT AlternativeText([out, retval]BSTR* shapetext); [id(16),propget] HRESULT VBAMacro([out, retval]BSTR* macro); }
HRESULT LeftColumn([out, retval]int* col1);
HRESULT RightColumn([out, retval]int* col2);
HRESULT TopCell([out, retval]int* row1);
HRESULT BottomCell([out, retval]int* row2);
HRESULT LeftOffset([out, retval]int* offset);
HRESULT RightOffset([out, retval]int* offset);
HRESULT TopOffset([out, retval]int* offset);
HRESULT BottomOffset([out, retval]int* offset);
HRESULT Name([out, retval]BSTR* shapename);
HRESULT Delete();
HRESULT BringToFront();
HRESULT Type([out, retval]int* shapetype);
Type | Description |
0 | Group |
1 | Line |
2 | Rectangle |
3 | Oval |
4 | Arc |
5 | Chart |
6 | Text |
7 | Button |
8 | Picture |
9 | Polygon |
11 | Checkbox |
12 | Option button |
13 | Editbox |
14 | Label |
15 | Dialogbox |
16 | Spinner |
17 | Scrollbar |
18 | Listbox |
19 | Groupbox |
20 | Combobox |
25 | Comment |
30 | Office drawing |
HRESULT ExtractToFile([out, retval]BSTR* filename);
HRESULT ExtractToMemory([in]IUnknown* lockbytes);
HRESULT AlternativeText([out, retval]BSTR* shapetext);
HRESULT VBAMacro([out, retval]BSTR* macro);