IXlsRichLabel
COM interface ( getting help with interfaces )

 

interface IXlsRichLabel : IDispatch
{

  [id(1)] HRESULT Label([in]BSTR label, [in]IXlsStyle* style);
  [id(2)] HRESULT LabelWithDefaultStyle([in]BSTR label, [in]int styleindex);
}

 

HRESULT Label([in]BSTR label, [in]IXlsStyle* style);
associates a fraction of the text in a cell (or merged cells) with a style. This function can be used iteratively.

 

HRESULT LabelWithDefaultStyle([in]BSTR label, [in]int styleindex);
sets the style by index. This method is typically generated by the core generator.