vcplot.cpp 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309
  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 "vcplot.h"
  6. // Dispatch interfaces referenced by this interface
  7. #include "vcbackdrop.h"
  8. #include "VcRect.h"
  9. #include "vcview3d.h"
  10. #include "vcplotbase.h"
  11. #include "vcweighting.h"
  12. #include "vcwall.h"
  13. #include "vcseriescollection.h"
  14. #include "vclight.h"
  15. #include "vcaxis.h"
  16. /////////////////////////////////////////////////////////////////////////////
  17. // CVcPlot properties
  18. /////////////////////////////////////////////////////////////////////////////
  19. // CVcPlot operations
  20. long CVcPlot::GetAngleUnit()
  21. {
  22. long result;
  23. InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
  24. return result;
  25. }
  26. void CVcPlot::SetAngleUnit(long nNewValue)
  27. {
  28. static BYTE parms[] =
  29. VTS_I4;
  30. InvokeHelper(0x1, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  31. nNewValue);
  32. }
  33. BOOL CVcPlot::GetClockwise()
  34. {
  35. BOOL result;
  36. InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
  37. return result;
  38. }
  39. void CVcPlot::SetClockwise(BOOL bNewValue)
  40. {
  41. static BYTE parms[] =
  42. VTS_BOOL;
  43. InvokeHelper(0x2, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  44. bNewValue);
  45. }
  46. long CVcPlot::GetSort()
  47. {
  48. long result;
  49. InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
  50. return result;
  51. }
  52. void CVcPlot::SetSort(long nNewValue)
  53. {
  54. static BYTE parms[] =
  55. VTS_I4;
  56. InvokeHelper(0x3, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  57. nNewValue);
  58. }
  59. CVcBackdrop CVcPlot::GetBackdrop()
  60. {
  61. LPDISPATCH pDispatch;
  62. InvokeHelper(0x5, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, NULL);
  63. return CVcBackdrop(pDispatch);
  64. }
  65. float CVcPlot::GetStartingAngle()
  66. {
  67. float result;
  68. InvokeHelper(0x8, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
  69. return result;
  70. }
  71. void CVcPlot::SetStartingAngle(float newValue)
  72. {
  73. static BYTE parms[] =
  74. VTS_R4;
  75. InvokeHelper(0x8, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  76. newValue);
  77. }
  78. long CVcPlot::GetSubPlotLabelPosition()
  79. {
  80. long result;
  81. InvokeHelper(0x9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
  82. return result;
  83. }
  84. void CVcPlot::SetSubPlotLabelPosition(long nNewValue)
  85. {
  86. static BYTE parms[] =
  87. VTS_I4;
  88. InvokeHelper(0x9, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  89. nNewValue);
  90. }
  91. float CVcPlot::GetBarGap()
  92. {
  93. float result;
  94. InvokeHelper(0xa, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
  95. return result;
  96. }
  97. void CVcPlot::SetBarGap(float newValue)
  98. {
  99. static BYTE parms[] =
  100. VTS_R4;
  101. InvokeHelper(0xa, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  102. newValue);
  103. }
  104. float CVcPlot::GetXGap()
  105. {
  106. float result;
  107. InvokeHelper(0xb, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
  108. return result;
  109. }
  110. void CVcPlot::SetXGap(float newValue)
  111. {
  112. static BYTE parms[] =
  113. VTS_R4;
  114. InvokeHelper(0xb, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  115. newValue);
  116. }
  117. BOOL CVcPlot::GetAutoLayout()
  118. {
  119. BOOL result;
  120. InvokeHelper(0xc, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
  121. return result;
  122. }
  123. void CVcPlot::SetAutoLayout(BOOL bNewValue)
  124. {
  125. static BYTE parms[] =
  126. VTS_BOOL;
  127. InvokeHelper(0xc, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  128. bNewValue);
  129. }
  130. float CVcPlot::GetWidthToHeightRatio()
  131. {
  132. float result;
  133. InvokeHelper(0xd, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
  134. return result;
  135. }
  136. void CVcPlot::SetWidthToHeightRatio(float newValue)
  137. {
  138. static BYTE parms[] =
  139. VTS_R4;
  140. InvokeHelper(0xd, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  141. newValue);
  142. }
  143. float CVcPlot::GetDepthToHeightRatio()
  144. {
  145. float result;
  146. InvokeHelper(0xe, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
  147. return result;
  148. }
  149. void CVcPlot::SetDepthToHeightRatio(float newValue)
  150. {
  151. static BYTE parms[] =
  152. VTS_R4;
  153. InvokeHelper(0xe, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  154. newValue);
  155. }
  156. CVcRect CVcPlot::GetLocationRect()
  157. {
  158. LPDISPATCH pDispatch;
  159. InvokeHelper(0xf, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, NULL);
  160. return CVcRect(pDispatch);
  161. }
  162. long CVcPlot::GetProjection()
  163. {
  164. long result;
  165. InvokeHelper(0x10, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
  166. return result;
  167. }
  168. void CVcPlot::SetProjection(long nNewValue)
  169. {
  170. static BYTE parms[] =
  171. VTS_I4;
  172. InvokeHelper(0x10, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  173. nNewValue);
  174. }
  175. float CVcPlot::GetZGap()
  176. {
  177. float result;
  178. InvokeHelper(0x11, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
  179. return result;
  180. }
  181. void CVcPlot::SetZGap(float newValue)
  182. {
  183. static BYTE parms[] =
  184. VTS_R4;
  185. InvokeHelper(0x11, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  186. newValue);
  187. }
  188. CVcView3d CVcPlot::GetView3d()
  189. {
  190. LPDISPATCH pDispatch;
  191. InvokeHelper(0x12, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, NULL);
  192. return CVcView3d(pDispatch);
  193. }
  194. CVcPlotBase CVcPlot::GetPlotBase()
  195. {
  196. LPDISPATCH pDispatch;
  197. InvokeHelper(0x13, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, NULL);
  198. return CVcPlotBase(pDispatch);
  199. }
  200. CVcWeighting CVcPlot::GetWeighting()
  201. {
  202. LPDISPATCH pDispatch;
  203. InvokeHelper(0x16, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, NULL);
  204. return CVcWeighting(pDispatch);
  205. }
  206. CVcWall CVcPlot::GetWall()
  207. {
  208. LPDISPATCH pDispatch;
  209. InvokeHelper(0x17, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, NULL);
  210. return CVcWall(pDispatch);
  211. }
  212. CVcSeriesCollection CVcPlot::GetSeriesCollection()
  213. {
  214. LPDISPATCH pDispatch;
  215. InvokeHelper(0x19, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, NULL);
  216. return CVcSeriesCollection(pDispatch);
  217. }
  218. BOOL CVcPlot::GetDataSeriesInRow()
  219. {
  220. BOOL result;
  221. InvokeHelper(0x1a, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
  222. return result;
  223. }
  224. void CVcPlot::SetDataSeriesInRow(BOOL bNewValue)
  225. {
  226. static BYTE parms[] =
  227. VTS_BOOL;
  228. InvokeHelper(0x1a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  229. bNewValue);
  230. }
  231. CVcLight CVcPlot::GetLight()
  232. {
  233. LPDISPATCH pDispatch;
  234. InvokeHelper(0x1b, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, NULL);
  235. return CVcLight(pDispatch);
  236. }
  237. long CVcPlot::GetDefaultPercentBasis()
  238. {
  239. long result;
  240. InvokeHelper(0x1d, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
  241. return result;
  242. }
  243. BOOL CVcPlot::GetUniformAxis()
  244. {
  245. BOOL result;
  246. InvokeHelper(0x1e, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
  247. return result;
  248. }
  249. void CVcPlot::SetUniformAxis(BOOL bNewValue)
  250. {
  251. static BYTE parms[] =
  252. VTS_BOOL;
  253. InvokeHelper(0x1e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  254. bNewValue);
  255. }
  256. CVcAxis CVcPlot::GetAxis(long axisID, const VARIANT& Index)
  257. {
  258. LPDISPATCH pDispatch;
  259. static BYTE parms[] =
  260. VTS_I4 VTS_VARIANT;
  261. InvokeHelper(0x1f, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, parms,
  262. axisID, &Index);
  263. return CVcAxis(pDispatch);
  264. }