// Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++ // NOTE: Do not modify the contents of this file. If this class is regenerated by // Microsoft Visual C++, your modifications will be overwritten. #include "stdafx.h" #include "chartgroup.h" // Dispatch interfaces referenced by this interface #include "Elevation.h" #include "Contour.h" #include "Chart3DData.h" #include "LabelCollection.h" #include "ChartStyleCollection.h" #include "Chart3DDataCoordResult.h" #include "Chart3DCoordResult.h" #include "Chart3DDataIndexResult.h" ///////////////////////////////////////////////////////////////////////////// // CChartGroup properties LPDISPATCH CChartGroup::GetParent() { LPDISPATCH result; GetProperty(0x1, VT_DISPATCH, (void*)&result); return result; } long CChartGroup::GetChartType() { long result; GetProperty(0x2, VT_I4, (void*)&result); return result; } void CChartGroup::SetChartType(long propVal) { SetProperty(0x2, VT_I4, propVal); } CElevation CChartGroup::GetElevation() { LPDISPATCH pDispatch; GetProperty(0x3, VT_DISPATCH, (void*)&pDispatch); return CElevation(pDispatch); } CContour CChartGroup::GetContour() { LPDISPATCH pDispatch; GetProperty(0x4, VT_DISPATCH, (void*)&pDispatch); return CContour(pDispatch); } CChart3DData CChartGroup::GetElevationData() { LPDISPATCH pDispatch; GetProperty(0x5, VT_DISPATCH, (void*)&pDispatch); return CChart3DData(pDispatch); } void CChartGroup::SetElevationData(LPDISPATCH propVal) { SetProperty(0x5, VT_DISPATCH, propVal); } CChart3DData CChartGroup::GetContourData() { LPDISPATCH pDispatch; GetProperty(0x6, VT_DISPATCH, (void*)&pDispatch); return CChart3DData(pDispatch); } void CChartGroup::SetContourData(LPDISPATCH propVal) { SetProperty(0x6, VT_DISPATCH, propVal); } CLabelCollection CChartGroup::GetColumnLabels() { LPDISPATCH pDispatch; GetProperty(0x7, VT_DISPATCH, (void*)&pDispatch); return CLabelCollection(pDispatch); } CLabelCollection CChartGroup::GetRowLabels() { LPDISPATCH pDispatch; GetProperty(0x8, VT_DISPATCH, (void*)&pDispatch); return CLabelCollection(pDispatch); } CChartStyleCollection CChartGroup::GetStyles() { LPDISPATCH pDispatch; GetProperty(0x13, VT_DISPATCH, (void*)&pDispatch); return CChartStyleCollection(pDispatch); } ///////////////////////////////////////////////////////////////////////////// // CChartGroup operations long CChartGroup::CoordToDataCoord(long XPixel, long YPixel, double* X, double* Y, double* Z) { long result; static BYTE parms[] = VTS_I4 VTS_I4 VTS_PR8 VTS_PR8 VTS_PR8; InvokeHelper(0x9, DISPATCH_METHOD, VT_I4, (void*)&result, parms, XPixel, YPixel, X, Y, Z); return result; } void CChartGroup::DataCoordToCoord(double X, double Y, double Z, long* XPixel, long* YPixel) { static BYTE parms[] = VTS_R8 VTS_R8 VTS_R8 VTS_PI4 VTS_PI4; InvokeHelper(0xa, DISPATCH_METHOD, VT_EMPTY, NULL, parms, X, Y, Z, XPixel, YPixel); } long CChartGroup::CoordToDataIndex(long XPixel, long YPixel, long* Row, long* Column, long* Distance) { long result; static BYTE parms[] = VTS_I4 VTS_I4 VTS_PI4 VTS_PI4 VTS_PI4; InvokeHelper(0xb, DISPATCH_METHOD, VT_I4, (void*)&result, parms, XPixel, YPixel, Row, Column, Distance); return result; } void CChartGroup::DataIndexToCoord(long Row, long Column, long* XPixel, long* YPixel) { static BYTE parms[] = VTS_I4 VTS_I4 VTS_PI4 VTS_PI4; InvokeHelper(0xc, DISPATCH_METHOD, VT_EMPTY, NULL, parms, Row, Column, XPixel, YPixel); } double CChartGroup::DragZValue(long Row, long Column, long XPixel, long YPixel) { double result; static BYTE parms[] = VTS_I4 VTS_I4 VTS_I4 VTS_I4; InvokeHelper(0xd, DISPATCH_METHOD, VT_R8, (void*)&result, parms, Row, Column, XPixel, YPixel); return result; } double CChartGroup::SurfaceValue(double X, double Y) { double result; static BYTE parms[] = VTS_R8 VTS_R8; InvokeHelper(0xe, DISPATCH_METHOD, VT_R8, (void*)&result, parms, X, Y); return result; } CChart3DDataCoordResult CChartGroup::CoordToDataCoordObject(long XPixel, long YPixel) { LPDISPATCH pDispatch; static BYTE parms[] = VTS_I4 VTS_I4; InvokeHelper(0xf, DISPATCH_METHOD, VT_DISPATCH, (void*)&pDispatch, parms, XPixel, YPixel); return CChart3DDataCoordResult(pDispatch); } CChart3DCoordResult CChartGroup::DataCoordToCoordObject(double X, double Y, double Z) { LPDISPATCH pDispatch; static BYTE parms[] = VTS_R8 VTS_R8 VTS_R8; InvokeHelper(0x10, DISPATCH_METHOD, VT_DISPATCH, (void*)&pDispatch, parms, X, Y, Z); return CChart3DCoordResult(pDispatch); } CChart3DDataIndexResult CChartGroup::CoordToDataIndexObject(long XPixel, long YPixel) { LPDISPATCH pDispatch; static BYTE parms[] = VTS_I4 VTS_I4; InvokeHelper(0x11, DISPATCH_METHOD, VT_DISPATCH, (void*)&pDispatch, parms, XPixel, YPixel); return CChart3DDataIndexResult(pDispatch); } CChart3DCoordResult CChartGroup::DataIndexToCoordObject(long Row, long Column) { LPDISPATCH pDispatch; static BYTE parms[] = VTS_I4 VTS_I4; InvokeHelper(0x12, DISPATCH_METHOD, VT_DISPATCH, (void*)&pDispatch, parms, Row, Column); return CChart3DCoordResult(pDispatch); }