vcdatapointlabel.cpp 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187
  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 "vcdatapointlabel.h"
  6. // Dispatch interfaces referenced by this interface
  7. #include "VcBackdrop.h"
  8. #include "VcFont.h"
  9. #include "VcLCoor.h"
  10. #include "vctextlayout.h"
  11. #include "Font.h"
  12. /////////////////////////////////////////////////////////////////////////////
  13. // CVcDataPointLabel properties
  14. /////////////////////////////////////////////////////////////////////////////
  15. // CVcDataPointLabel operations
  16. CString CVcDataPointLabel::GetText()
  17. {
  18. CString result;
  19. InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
  20. return result;
  21. }
  22. void CVcDataPointLabel::SetText(LPCTSTR lpszNewValue)
  23. {
  24. static BYTE parms[] =
  25. VTS_BSTR;
  26. InvokeHelper(0x1, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  27. lpszNewValue);
  28. }
  29. CVcBackdrop CVcDataPointLabel::GetBackdrop()
  30. {
  31. LPDISPATCH pDispatch;
  32. InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, NULL);
  33. return CVcBackdrop(pDispatch);
  34. }
  35. CVcFont CVcDataPointLabel::GetVtFont()
  36. {
  37. LPDISPATCH pDispatch;
  38. InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, NULL);
  39. return CVcFont(pDispatch);
  40. }
  41. CVcLCoor CVcDataPointLabel::GetOffset()
  42. {
  43. LPDISPATCH pDispatch;
  44. InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, NULL);
  45. return CVcLCoor(pDispatch);
  46. }
  47. CVcTextLayout CVcDataPointLabel::GetTextLayout()
  48. {
  49. LPDISPATCH pDispatch;
  50. InvokeHelper(0x5, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, NULL);
  51. return CVcTextLayout(pDispatch);
  52. }
  53. long CVcDataPointLabel::GetLocationType()
  54. {
  55. long result;
  56. InvokeHelper(0x6, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
  57. return result;
  58. }
  59. void CVcDataPointLabel::SetLocationType(long nNewValue)
  60. {
  61. static BYTE parms[] =
  62. VTS_I4;
  63. InvokeHelper(0x6, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  64. nNewValue);
  65. }
  66. BOOL CVcDataPointLabel::GetCustom()
  67. {
  68. BOOL result;
  69. InvokeHelper(0x7, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
  70. return result;
  71. }
  72. void CVcDataPointLabel::SetCustom(BOOL bNewValue)
  73. {
  74. static BYTE parms[] =
  75. VTS_BOOL;
  76. InvokeHelper(0x7, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  77. bNewValue);
  78. }
  79. short CVcDataPointLabel::GetComponent()
  80. {
  81. short result;
  82. InvokeHelper(0x8, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, NULL);
  83. return result;
  84. }
  85. void CVcDataPointLabel::SetComponent(short nNewValue)
  86. {
  87. static BYTE parms[] =
  88. VTS_I2;
  89. InvokeHelper(0x8, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  90. nNewValue);
  91. }
  92. long CVcDataPointLabel::GetLineStyle()
  93. {
  94. long result;
  95. InvokeHelper(0x9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
  96. return result;
  97. }
  98. void CVcDataPointLabel::SetLineStyle(long nNewValue)
  99. {
  100. static BYTE parms[] =
  101. VTS_I4;
  102. InvokeHelper(0x9, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  103. nNewValue);
  104. }
  105. CString CVcDataPointLabel::GetValueFormat()
  106. {
  107. CString result;
  108. InvokeHelper(0xa, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
  109. return result;
  110. }
  111. void CVcDataPointLabel::SetValueFormat(LPCTSTR lpszNewValue)
  112. {
  113. static BYTE parms[] =
  114. VTS_BSTR;
  115. InvokeHelper(0xa, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  116. lpszNewValue);
  117. }
  118. CString CVcDataPointLabel::GetPercentFormat()
  119. {
  120. CString result;
  121. InvokeHelper(0xb, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
  122. return result;
  123. }
  124. void CVcDataPointLabel::SetPercentFormat(LPCTSTR lpszNewValue)
  125. {
  126. static BYTE parms[] =
  127. VTS_BSTR;
  128. InvokeHelper(0xb, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  129. lpszNewValue);
  130. }
  131. short CVcDataPointLabel::GetTextLength()
  132. {
  133. short result;
  134. InvokeHelper(0xc, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, NULL);
  135. return result;
  136. }
  137. void CVcDataPointLabel::SetRefFont(LPDISPATCH newValue)
  138. {
  139. static BYTE parms[] =
  140. VTS_DISPATCH;
  141. InvokeHelper(0xf, DISPATCH_PROPERTYPUTREF, VT_EMPTY, NULL, parms,
  142. newValue);
  143. }
  144. COleFont CVcDataPointLabel::GetFont()
  145. {
  146. LPDISPATCH pDispatch;
  147. InvokeHelper(0xf, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, NULL);
  148. return COleFont(pDispatch);
  149. }
  150. void CVcDataPointLabel::ResetCustomLabel()
  151. {
  152. InvokeHelper(0xd, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
  153. }
  154. void CVcDataPointLabel::Select()
  155. {
  156. InvokeHelper(0xe, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
  157. }