vcaxis.cpp 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  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 "vcaxis.h"
  6. // Dispatch interfaces referenced by this interface
  7. #include "VcPen.h"
  8. #include "VcCategoryScale.h"
  9. #include "VcAxisGrid.h"
  10. #include "vcintersection.h"
  11. #include "VcTick.h"
  12. #include "vcaxisscale.h"
  13. #include "VcValueScale.h"
  14. #include "vcaxistitle.h"
  15. #include "VcLabels.h"
  16. /////////////////////////////////////////////////////////////////////////////
  17. // CVcAxis properties
  18. /////////////////////////////////////////////////////////////////////////////
  19. // CVcAxis operations
  20. CVcPen CVcAxis::GetPen()
  21. {
  22. LPDISPATCH pDispatch;
  23. InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, NULL);
  24. return CVcPen(pDispatch);
  25. }
  26. short CVcAxis::GetLabelLevelCount()
  27. {
  28. short result;
  29. InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, NULL);
  30. return result;
  31. }
  32. CVcCategoryScale CVcAxis::GetCategoryScale()
  33. {
  34. LPDISPATCH pDispatch;
  35. InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, NULL);
  36. return CVcCategoryScale(pDispatch);
  37. }
  38. CVcAxisGrid CVcAxis::GetAxisGrid()
  39. {
  40. LPDISPATCH pDispatch;
  41. InvokeHelper(0x5, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, NULL);
  42. return CVcAxisGrid(pDispatch);
  43. }
  44. CVcIntersection CVcAxis::GetIntersection()
  45. {
  46. LPDISPATCH pDispatch;
  47. InvokeHelper(0x6, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, NULL);
  48. return CVcIntersection(pDispatch);
  49. }
  50. CVcTick CVcAxis::GetTick()
  51. {
  52. LPDISPATCH pDispatch;
  53. InvokeHelper(0x7, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, NULL);
  54. return CVcTick(pDispatch);
  55. }
  56. CVcAxisScale CVcAxis::GetAxisScale()
  57. {
  58. LPDISPATCH pDispatch;
  59. InvokeHelper(0x8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, NULL);
  60. return CVcAxisScale(pDispatch);
  61. }
  62. CVcValueScale CVcAxis::GetValueScale()
  63. {
  64. LPDISPATCH pDispatch;
  65. InvokeHelper(0x9, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, NULL);
  66. return CVcValueScale(pDispatch);
  67. }
  68. CVcAxisTitle CVcAxis::GetAxisTitle()
  69. {
  70. LPDISPATCH pDispatch;
  71. InvokeHelper(0xa, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, NULL);
  72. return CVcAxisTitle(pDispatch);
  73. }
  74. CVcLabels CVcAxis::GetLabels()
  75. {
  76. LPDISPATCH pDispatch;
  77. InvokeHelper(0xb, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, NULL);
  78. return CVcLabels(pDispatch);
  79. }