 |
| IXlsTextBox |
 |
COM interface ( getting help with interfaces )
interface IXlsTextBox : IDispatch
{
[id(1),propput] HRESULT Label([in]BSTR label);
[id(1),propget] HRESULT Label([out, retval]BSTR* label);
[id(2),propput] HRESULT RichLabel([in]IXlsRichLabel* rl);
[id(3),propput] HRESULT Hyperlink([in]IXlsHyperlink* hlink);
[id(4),propget] HRESULT AutoSize([out, retval] BOOL* autosize);
[id(4),propput] HRESULT AutoSize([in]BOOL autosize);
}
HRESULT Label([in]BSTR label);
sets the content of the text box.
HRESULT Label([out, retval]BSTR* label);
returns the content of the text box.
HRESULT RichLabel([in]IXlsRichLabel* rl);
sets the content of the text box using richly formatting labels.
HRESULT Hyperlink([in]IXlsHyperlink* hlink);
adds a hyperlink to the text box.
HRESULT AutoSize([out, retval] BOOL* autosize);
returns whether the text box should auto scale to fit the text. This option is ignored if the text box is part of an Excel 2007 file.
HRESULT AutoSize([in]BOOL autosize);
sets whether the text box should auto scale to fit the text. This option is ignored if the text box is part of an Excel 2007 file.