IXlsColor
COM interface ( getting help with interfaces )

 

interface IXlsColor : IDispatch
{
  [id(1),propget] HRESULT RGBColor([out, retval]int* rgb);
  [id(1),propput] HRESULT RGBColor([in]int rgb);
  [id(2),propget] HRESULT ThemeColor([out, retval]enumThemeColor* themeColor);
  [id(2),propput] HRESULT ThemeColor([in]enumThemeColor themeColor);
  [id(3),propget] HRESULT Tint([out, retval]int* percent);
  [id(3),propput] HRESULT Tint([in]int percent);
  [id(4),propget] HRESULT Alpha([out, retval]int* percent);
  [id(4),propput] HRESULT Alpha([in]int percent);
}

 

HRESULT RGBColor([out, retval]int* rgb);
retrieves the Red Green Blue of the color, if applicable. Use it as alternative to theme color.

HRESULT RGBColor([in]int rgb);
sets the Red Green Blue of the color. Use it as alternative to theme color.

HRESULT ThemeColor([out, retval]enumThemeColor* themeColor);
retrieves the theme color of the color, if applicable. Use it as alternative to RGB.

HRESULT ThemeColor([in]enumThemeColor themeColor);
sets the theme color of the color. Use it as alternative to RGB.

HRESULT Tint([out, retval]int* percent);
retrieves the tint applied to the color, in percent. Default is : 100.

HRESULT Tint([in]int percent);
sets the tint applied to the color, in percent.

HRESULT Alpha([out, retval]int* percent);
retrieves the alpha transparency level applied to the color, in percent. Default is : 100.

HRESULT Alpha([in]int percent);
sets the alpha transparency level applied to the color, in percent.