IXlsFormLabel
COM interface ( getting help with interfaces )

 

interface IXlsFormLabel : 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 Formula([in]BSTR formula);
  [id(3),propget] HRESULT Formula([out, retval]BSTR* formula);
  [id(4),propget] HRESULT AlternativeText([out, retval]BSTR* text);
  [id(4),propput] HRESULT AlternativeText([in]BSTR text);
  [id(5),propput] HRESULT VBAMacro([in]BSTR macro);
  [id(5),propget] HRESULT VBAMacro([out, retval]BSTR* macro);
  [id(6),propget] HRESULT Name([out, retval]BSTR* name);
}

 

HRESULT Label([in]BSTR label);
sets the content of the form label.

HRESULT Label([out, retval]BSTR* label);
returns the content of the form label.

HRESULT RichLabel([in]IXlsRichLabel* rl);
sets the content of the form label using richly formatting labels.

HRESULT Formula([in]BSTR formula);
sets the formula for the form label.

HRESULT Formula([out, retval]BSTR* formula);
returns the formula for the form label.

HRESULT AlternativeText([out, retval]BSTR* text);
returns the alternative text. Optional.

HRESULT AlternativeText([in]BSTR text);
sets the alternative text. Optional.

HRESULT VBAMacro([in]BSTR macro);
sets the vba macro name for the form label.

HRESULT VBAMacro([out, retval]BSTR* macro);
returns the vba macro name for the form label.

HRESULT Name([out, retval]BSTR* name);
returns the name of the form label.