IXlsFormButton
COM interface ( getting help with interfaces )

 

interface IXlsFormButton : 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 Style([in]IXlsStyle* style);
  [id(6),propput] HRESULT VBAMacro([in]BSTR macro);
  [id(6),propget] HRESULT VBAMacro([out, retval]BSTR* macro);
  [id(7),propget] HRESULT Name([out, retval]BSTR* name);
}

 

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

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

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

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

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

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

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

HRESULT Style([in]IXlsStyle* style);
associates a style to the form button control.

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

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

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