IXlsChartOptions
COM interface ( getting help with interfaces )

 

interface IXlsChartOptions : IDispatch
{

  [id(1),propput] HRESULT X([in]double x);
  [id(1),propget] HRESULT X([out, retval]double* x);
  [id(2),propput] HRESULT Y([in]double y);
  [id(2),propget] HRESULT Y([out, retval]double* y);
  [id(3),propput] HRESULT Width([in]int width);
  [id(3),propget] HRESULT Width([out, retval]int* width);
  [id(4),propput] HRESULT Height([in]int height);
  [id(4),propget] HRESULT Height([out, retval]int* height);
  [id(5),propget] HRESULT Font([out, retval]IXlsChartFont** font);
  [id(6),propget] HRESULT Alignment([out, retval]IXlsChartAlignment** alignment);
  [id(7),propget] HRESULT Patterns([out, retval]IXlsChartPatterns** patterns);
  [id(8),propput] HRESULT NumberFormat([in]BSTR format);
  [id(8),propget] HRESULT NumberFormat([out, retval]BSTR* format);
  [id(9),propput] HRESULT NumberFormatLinkedToSource([in]BOOL linkedtosource);
  [id(9),propget] HRESULT NumberFormatLinkedToSource([out, retval]BOOL* linkedtosource);
  [id(10),propput] HRESULT AutomaticPosition([in]BOOL automatic);
  [id(10),propget] HRESULT AutomaticPosition([out, retval]BOOL* automatic);

}

 

HRESULT X([in]double x);
sets the X coordinate. It's a percent between 0 and 100.

HRESULT X([out, retval]double* x);
returns the X coordinate. It's a percent between 0 and 100.

HRESULT Y([in]double y);
sets the Y coordinate. It's a percent between 0 and 100.

HRESULT Y([out, retval]double* y);
returns the Y coordinate. It's a percent between 0 and 100.

HRESULT Width([in]int width);
sets the width. Default is 0, i.e. automatic. It's a percent between 0 and 100.

HRESULT Width([out, retval]int* width);
returns the width. Default is 0, i.e. automatic. It's a percent between 0 and 100.

HRESULT Height([in]int height);
sets the height. Default is 0, i.e. automatic. It's a percent between 0 and 100.

HRESULT Height([out, retval]int* height);
returns the height. Default is 0, i.e. automatic. It's a percent between 0 and 100.

HRESULT Font([out, retval]IXlsChartFont** font);
returns the font object.

HRESULT Alignment([out, retval]IXlsChartAlignment** alignment);
returns the alignment object.

HRESULT Patterns([out, retval]IXlsChartPatterns** patterns);
returns the patterns object.

HRESULT NumberFormat([in]BSTR format);
sets the Number format.

HRESULT NumberFormat([out, retval]BSTR* format);
returns the Number format.

HRESULT NumberFormatLinkedToSource([in]BOOL linkedtosource);
sets whether the Number format is determined by the actual cell Number format.

HRESULT NumberFormatLinkedToSource([out, retval]BOOL* linkedtosource);
returns whether the Number format is determined by the actual cell Number format.

HRESULT AutomaticPosition([in]BOOL automatic);
sets whether the position of the chart element should be automatically determined internally. Default is : yes

HRESULT AutomaticPosition([out, retval]BOOL* automatic);
returns whether the position of the chart element should be automatically determined internally. Default is : yes