138 lines
3.5 KiB
C
138 lines
3.5 KiB
C
|
// CVcSeries.h : <20><> Microsoft Visual C++ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ActiveX <20>ؼ<EFBFBD><D8BC><EFBFBD>װ<EFBFBD><D7B0><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
|
|||
|
#pragma once
|
|||
|
|
|||
|
/////////////////////////////////////////////////////////////////////////////
|
|||
|
// CVcSeries
|
|||
|
|
|||
|
class CVcSeries : public COleDispatchDriver
|
|||
|
{
|
|||
|
public:
|
|||
|
CVcSeries() {} // <20><><EFBFBD><EFBFBD> COleDispatchDriver Ĭ<>Ϲ<EFBFBD><CFB9>캯<EFBFBD><ECBAAF>
|
|||
|
CVcSeries(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
|
|||
|
CVcSeries(const CVcSeries& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
|
|||
|
|
|||
|
// <20><><EFBFBD><EFBFBD>
|
|||
|
public:
|
|||
|
|
|||
|
// <20><><EFBFBD><EFBFBD>
|
|||
|
public:
|
|||
|
|
|||
|
CString get__LegendText()
|
|||
|
{
|
|||
|
CString result;
|
|||
|
InvokeHelper(0x0, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, nullptr);
|
|||
|
return result;
|
|||
|
}
|
|||
|
void put__LegendText(LPCTSTR newValue)
|
|||
|
{
|
|||
|
static BYTE parms[] = VTS_BSTR ;
|
|||
|
InvokeHelper(0x0, DISPATCH_PROPERTYPUT, VT_EMPTY, nullptr, parms, newValue);
|
|||
|
}
|
|||
|
BOOL get_SecondaryAxis()
|
|||
|
{
|
|||
|
BOOL result;
|
|||
|
InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, nullptr);
|
|||
|
return result;
|
|||
|
}
|
|||
|
void put_SecondaryAxis(BOOL newValue)
|
|||
|
{
|
|||
|
static BYTE parms[] = VTS_BOOL ;
|
|||
|
InvokeHelper(0x1, DISPATCH_PROPERTYPUT, VT_EMPTY, nullptr, parms, newValue);
|
|||
|
}
|
|||
|
long get_SeriesType()
|
|||
|
{
|
|||
|
long result;
|
|||
|
InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, nullptr);
|
|||
|
return result;
|
|||
|
}
|
|||
|
void put_SeriesType(long newValue)
|
|||
|
{
|
|||
|
static BYTE parms[] = VTS_I4 ;
|
|||
|
InvokeHelper(0x4, DISPATCH_PROPERTYPUT, VT_EMPTY, nullptr, parms, newValue);
|
|||
|
}
|
|||
|
LPDISPATCH get_GuideLinePen()
|
|||
|
{
|
|||
|
LPDISPATCH result;
|
|||
|
InvokeHelper(0x5, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, nullptr);
|
|||
|
return result;
|
|||
|
}
|
|||
|
BOOL get_ShowLine()
|
|||
|
{
|
|||
|
BOOL result;
|
|||
|
InvokeHelper(0x6, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, nullptr);
|
|||
|
return result;
|
|||
|
}
|
|||
|
void put_ShowLine(BOOL newValue)
|
|||
|
{
|
|||
|
static BYTE parms[] = VTS_BOOL ;
|
|||
|
InvokeHelper(0x6, DISPATCH_PROPERTYPUT, VT_EMPTY, nullptr, parms, newValue);
|
|||
|
}
|
|||
|
LPDISPATCH get_Pen()
|
|||
|
{
|
|||
|
LPDISPATCH result;
|
|||
|
InvokeHelper(0x7, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, nullptr);
|
|||
|
return result;
|
|||
|
}
|
|||
|
LPDISPATCH get_Position()
|
|||
|
{
|
|||
|
LPDISPATCH result;
|
|||
|
InvokeHelper(0xa, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, nullptr);
|
|||
|
return result;
|
|||
|
}
|
|||
|
LPDISPATCH get_SeriesMarker()
|
|||
|
{
|
|||
|
LPDISPATCH result;
|
|||
|
InvokeHelper(0xb, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, nullptr);
|
|||
|
return result;
|
|||
|
}
|
|||
|
LPDISPATCH get_StatLine()
|
|||
|
{
|
|||
|
LPDISPATCH result;
|
|||
|
InvokeHelper(0xd, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, nullptr);
|
|||
|
return result;
|
|||
|
}
|
|||
|
LPDISPATCH get_DataPoints()
|
|||
|
{
|
|||
|
LPDISPATCH result;
|
|||
|
InvokeHelper(0xe, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, nullptr);
|
|||
|
return result;
|
|||
|
}
|
|||
|
CString get_LegendText()
|
|||
|
{
|
|||
|
CString result;
|
|||
|
InvokeHelper(0xf, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, nullptr);
|
|||
|
return result;
|
|||
|
}
|
|||
|
void put_LegendText(LPCTSTR newValue)
|
|||
|
{
|
|||
|
static BYTE parms[] = VTS_BSTR ;
|
|||
|
InvokeHelper(0xf, DISPATCH_PROPERTYPUT, VT_EMPTY, nullptr, parms, newValue);
|
|||
|
}
|
|||
|
void Select()
|
|||
|
{
|
|||
|
InvokeHelper(0x10, DISPATCH_METHOD, VT_EMPTY, nullptr, nullptr);
|
|||
|
}
|
|||
|
BOOL get_ShowGuideLine(long axisID)
|
|||
|
{
|
|||
|
BOOL result;
|
|||
|
static BYTE parms[] = VTS_I4 ;
|
|||
|
InvokeHelper(0x11, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, parms, axisID);
|
|||
|
return result;
|
|||
|
}
|
|||
|
void put_ShowGuideLine(long axisID, BOOL newValue)
|
|||
|
{
|
|||
|
static BYTE parms[] = VTS_I4 VTS_BOOL ;
|
|||
|
InvokeHelper(0x11, DISPATCH_PROPERTYPUT, VT_EMPTY, nullptr, parms, axisID, newValue);
|
|||
|
}
|
|||
|
long get_TypeByChartType(long chartType)
|
|||
|
{
|
|||
|
long result;
|
|||
|
static BYTE parms[] = VTS_I4 ;
|
|||
|
InvokeHelper(0x12, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, parms, chartType);
|
|||
|
return result;
|
|||
|
}
|
|||
|
|
|||
|
|
|||
|
};
|