IXlsDatabarCondition
COM interface ( getting help with interfaces )

 

interface IXlsDatabarCondition : IDispatch
{
  [id(1),propget] HRESULT ShortestBar([out, retval]IXlsDatabarSubCondition** sbc);
  [id(2),propget] HRESULT LongestBar([out, retval]IXlsDatabarSubCondition** lbc);
  [id(3),propput] HRESULT ShowBarsOnly([in]BOOL showbarsonly);
  [id(3),propget] HRESULT ShowBarsOnly([out, retval]BOOL* showbarsonly);
  [id(4),propget] HRESULT Color([out, retval] int* nRGB);
  [id(4),propput] HRESULT Color([in]int nRGB);
}

 

HRESULT ShortestBar([out, retval]IXlsDatabarSubCondition** sbc);
creates conditions for the shortest databar.

HRESULT LongestBar([out, retval]IXlsDatabarSubCondition** lbc);
creates conditions for the longest databar.

HRESULT ShowBarsOnly([in]BOOL showbarsonly);
sets whether only data bars are shown (values are hidden). Default value is NO.

HRESULT ShowBarsOnly([out, retval]BOOL* showbarsonly);
retrieves whether whether only data bars are shown (values are hidden). Default value is NO.

HRESULT Color([out, retval] int* nRGB);
retrieves the primary color of the databar.

HRESULT Color([in]int nRGB);
sets the primary color of the databar. Uses a 24-bit color number or an enumerated type. Default is : black.