vcmarker.cpp 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  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 "vcmarker.h"
  6. // Dispatch interfaces referenced by this interface
  7. #include "VcPen.h"
  8. #include "VcColor.h"
  9. /////////////////////////////////////////////////////////////////////////////
  10. // CVcMarker properties
  11. /////////////////////////////////////////////////////////////////////////////
  12. // CVcMarker operations
  13. BOOL CVcMarker::GetVisible()
  14. {
  15. BOOL result;
  16. InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
  17. return result;
  18. }
  19. void CVcMarker::SetVisible(BOOL bNewValue)
  20. {
  21. static BYTE parms[] =
  22. VTS_BOOL;
  23. InvokeHelper(0x1, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  24. bNewValue);
  25. }
  26. long CVcMarker::GetStyle()
  27. {
  28. long result;
  29. InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
  30. return result;
  31. }
  32. void CVcMarker::SetStyle(long nNewValue)
  33. {
  34. static BYTE parms[] =
  35. VTS_I4;
  36. InvokeHelper(0x2, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  37. nNewValue);
  38. }
  39. CVcPen CVcMarker::GetPen()
  40. {
  41. LPDISPATCH pDispatch;
  42. InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, NULL);
  43. return CVcPen(pDispatch);
  44. }
  45. float CVcMarker::GetSize()
  46. {
  47. float result;
  48. InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
  49. return result;
  50. }
  51. void CVcMarker::SetSize(float newValue)
  52. {
  53. static BYTE parms[] =
  54. VTS_R4;
  55. InvokeHelper(0x4, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  56. newValue);
  57. }
  58. CVcColor CVcMarker::GetFillColor()
  59. {
  60. LPDISPATCH pDispatch;
  61. InvokeHelper(0x5, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, NULL);
  62. return CVcColor(pDispatch);
  63. }