IXlsGradientPattern
COM interface ( getting help with interfaces )

 

interface IXlsGradientPattern : IDispatch
{
  [id(1),propget] HRESULT Enabled([out, retval]BOOL* bEnabled);
  [id(1),propput] HRESULT Enabled([in]BOOL bEnabled);
  [id(2),propget] HRESULT FirstColor([out, retval]int* nRGB);
  [id(2),propput] HRESULT FirstColor([in]int nRGB);
  [id(3),propget] HRESULT SecondColor([out, retval]int* nRGB);
  [id(3),propput] HRESULT SecondColor([in]int nRGB);
  [id(4),propget] HRESULT GradientStyle([out, retval]enumChartGradientStyle* gradientstyle);
  [id(4),propput] HRESULT GradientStyle([in]enumChartGradientStyle gradientstyle);
}

 

HRESULT Enabled([out, retval]BOOL* bEnabled);
returns whether the gradient pattern is enabled.

HRESULT Enabled([in]BOOL bEnabled);
sets whether the gradient pattern is enabled.

HRESULT FirstColor([out, retval]int* nRGB);
returns the first gradient color.

HRESULT FirstColor([in]int nRGB);
sets the first gradient color. Color is expressed using a typical RGB value.

HRESULT SecondColor([out, retval]int* nRGB);
returns the second gradient color.

HRESULT SecondColor([in]int nRGB);
sets the second gradient color. Color is expressed using a typical RGB value.

HRESULT GradientStyle([out, retval]enumChartGradientStyle* gradientstyle);
returns the gradient fill style.

HRESULT GradientStyle([in]enumChartGradientStyle gradientstyle);
sets the gradient fill style.