vcaxistitle.cpp 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  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 "vcaxistitle.h"
  6. // Dispatch interfaces referenced by this interface
  7. #include "VcBackdrop.h"
  8. #include "VcFont.h"
  9. #include "vctextlayout.h"
  10. #include "Font.h"
  11. /////////////////////////////////////////////////////////////////////////////
  12. // CVcAxisTitle properties
  13. /////////////////////////////////////////////////////////////////////////////
  14. // CVcAxisTitle operations
  15. CString CVcAxisTitle::GetText()
  16. {
  17. CString result;
  18. InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
  19. return result;
  20. }
  21. void CVcAxisTitle::SetText(LPCTSTR lpszNewValue)
  22. {
  23. static BYTE parms[] =
  24. VTS_BSTR;
  25. InvokeHelper(0x1, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  26. lpszNewValue);
  27. }
  28. CVcBackdrop CVcAxisTitle::GetBackdrop()
  29. {
  30. LPDISPATCH pDispatch;
  31. InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, NULL);
  32. return CVcBackdrop(pDispatch);
  33. }
  34. CVcFont CVcAxisTitle::GetVtFont()
  35. {
  36. LPDISPATCH pDispatch;
  37. InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, NULL);
  38. return CVcFont(pDispatch);
  39. }
  40. BOOL CVcAxisTitle::GetVisible()
  41. {
  42. BOOL result;
  43. InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
  44. return result;
  45. }
  46. void CVcAxisTitle::SetVisible(BOOL bNewValue)
  47. {
  48. static BYTE parms[] =
  49. VTS_BOOL;
  50. InvokeHelper(0x4, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  51. bNewValue);
  52. }
  53. CVcTextLayout CVcAxisTitle::GetTextLayout()
  54. {
  55. LPDISPATCH pDispatch;
  56. InvokeHelper(0x5, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, NULL);
  57. return CVcTextLayout(pDispatch);
  58. }
  59. short CVcAxisTitle::GetTextLength()
  60. {
  61. short result;
  62. InvokeHelper(0x6, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, NULL);
  63. return result;
  64. }
  65. void CVcAxisTitle::SetRefFont(LPDISPATCH newValue)
  66. {
  67. static BYTE parms[] =
  68. VTS_DISPATCH;
  69. InvokeHelper(0x7, DISPATCH_PROPERTYPUTREF, VT_EMPTY, NULL, parms,
  70. newValue);
  71. }
  72. COleFont CVcAxisTitle::GetFont()
  73. {
  74. LPDISPATCH pDispatch;
  75. InvokeHelper(0x7, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, NULL);
  76. return COleFont(pDispatch);
  77. }