vcseries.cpp 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  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 "vcseries.h"
  6. // Dispatch interfaces referenced by this interface
  7. #include "VcPen.h"
  8. #include "VcSeriesPosition.h"
  9. #include "VcSeriesMarker.h"
  10. #include "VcStatLine.h"
  11. #include "VcDataPoints.h"
  12. /////////////////////////////////////////////////////////////////////////////
  13. // CVcSeries properties
  14. /////////////////////////////////////////////////////////////////////////////
  15. // CVcSeries operations
  16. BOOL CVcSeries::GetSecondaryAxis()
  17. {
  18. BOOL result;
  19. InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
  20. return result;
  21. }
  22. void CVcSeries::SetSecondaryAxis(BOOL bNewValue)
  23. {
  24. static BYTE parms[] =
  25. VTS_BOOL;
  26. InvokeHelper(0x1, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  27. bNewValue);
  28. }
  29. long CVcSeries::GetSeriesType()
  30. {
  31. long result;
  32. InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
  33. return result;
  34. }
  35. void CVcSeries::SetSeriesType(long nNewValue)
  36. {
  37. static BYTE parms[] =
  38. VTS_I4;
  39. InvokeHelper(0x4, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  40. nNewValue);
  41. }
  42. CVcPen CVcSeries::GetGuideLinePen()
  43. {
  44. LPDISPATCH pDispatch;
  45. InvokeHelper(0x5, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, NULL);
  46. return CVcPen(pDispatch);
  47. }
  48. BOOL CVcSeries::GetShowLine()
  49. {
  50. BOOL result;
  51. InvokeHelper(0x6, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
  52. return result;
  53. }
  54. void CVcSeries::SetShowLine(BOOL bNewValue)
  55. {
  56. static BYTE parms[] =
  57. VTS_BOOL;
  58. InvokeHelper(0x6, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  59. bNewValue);
  60. }
  61. CVcPen CVcSeries::GetPen()
  62. {
  63. LPDISPATCH pDispatch;
  64. InvokeHelper(0x7, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, NULL);
  65. return CVcPen(pDispatch);
  66. }
  67. CVcSeriesPosition CVcSeries::GetPosition()
  68. {
  69. LPDISPATCH pDispatch;
  70. InvokeHelper(0xa, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, NULL);
  71. return CVcSeriesPosition(pDispatch);
  72. }
  73. CVcSeriesMarker CVcSeries::GetSeriesMarker()
  74. {
  75. LPDISPATCH pDispatch;
  76. InvokeHelper(0xb, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, NULL);
  77. return CVcSeriesMarker(pDispatch);
  78. }
  79. CVcStatLine CVcSeries::GetStatLine()
  80. {
  81. LPDISPATCH pDispatch;
  82. InvokeHelper(0xd, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, NULL);
  83. return CVcStatLine(pDispatch);
  84. }
  85. CVcDataPoints CVcSeries::GetDataPoints()
  86. {
  87. LPDISPATCH pDispatch;
  88. InvokeHelper(0xe, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, NULL);
  89. return CVcDataPoints(pDispatch);
  90. }
  91. CString CVcSeries::GetLegendText()
  92. {
  93. CString result;
  94. InvokeHelper(0xf, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
  95. return result;
  96. }
  97. void CVcSeries::SetLegendText(LPCTSTR lpszNewValue)
  98. {
  99. static BYTE parms[] =
  100. VTS_BSTR;
  101. InvokeHelper(0xf, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  102. lpszNewValue);
  103. }
  104. void CVcSeries::Select()
  105. {
  106. InvokeHelper(0x10, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
  107. }
  108. BOOL CVcSeries::GetShowGuideLine(long axisID)
  109. {
  110. BOOL result;
  111. static BYTE parms[] =
  112. VTS_I4;
  113. InvokeHelper(0x11, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, parms,
  114. axisID);
  115. return result;
  116. }
  117. void CVcSeries::SetShowGuideLine(long axisID, BOOL bNewValue)
  118. {
  119. static BYTE parms[] =
  120. VTS_I4 VTS_BOOL;
  121. InvokeHelper(0x11, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  122. axisID, bNewValue);
  123. }
  124. long CVcSeries::GetTypeByChartType(long chartType)
  125. {
  126. long result;
  127. static BYTE parms[] =
  128. VTS_I4;
  129. InvokeHelper(0x12, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms,
  130. chartType);
  131. return result;
  132. }