vcdatapoint.cpp 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. // Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
  2. // NOTE: Do not modify the contents of this file. If this class is regenerated by
  3. // Microsoft Visual C++, your modifications will be overwritten.
  4. #include "stdafx.h"
  5. #include "vcdatapoint.h"
  6. // Dispatch interfaces referenced by this interface
  7. #include "vcdatapointlabel.h"
  8. #include "vcbrush.h"
  9. #include "VcPen.h"
  10. #include "vcmarker.h"
  11. /////////////////////////////////////////////////////////////////////////////
  12. // CVcDataPoint properties
  13. /////////////////////////////////////////////////////////////////////////////
  14. // CVcDataPoint operations
  15. CVcDataPointLabel CVcDataPoint::GetDataPointLabel()
  16. {
  17. LPDISPATCH pDispatch;
  18. InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, NULL);
  19. return CVcDataPointLabel(pDispatch);
  20. }
  21. CVcBrush CVcDataPoint::GetBrush()
  22. {
  23. LPDISPATCH pDispatch;
  24. InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, NULL);
  25. return CVcBrush(pDispatch);
  26. }
  27. CVcPen CVcDataPoint::GetEdgePen()
  28. {
  29. LPDISPATCH pDispatch;
  30. InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, NULL);
  31. return CVcPen(pDispatch);
  32. }
  33. CVcMarker CVcDataPoint::GetMarker()
  34. {
  35. LPDISPATCH pDispatch;
  36. InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, NULL);
  37. return CVcMarker(pDispatch);
  38. }
  39. float CVcDataPoint::GetOffset()
  40. {
  41. float result;
  42. InvokeHelper(0x5, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
  43. return result;
  44. }
  45. void CVcDataPoint::SetOffset(float newValue)
  46. {
  47. static BYTE parms[] =
  48. VTS_R4;
  49. InvokeHelper(0x5, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  50. newValue);
  51. }
  52. void CVcDataPoint::ResetCustom()
  53. {
  54. InvokeHelper(0x7, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
  55. }
  56. void CVcDataPoint::Select()
  57. {
  58. InvokeHelper(0x8, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
  59. }