?? sothemegraph.cpp
字號:
// Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
// NOTE: Do not modify the contents of this file. If this class is regenerated by
// Microsoft Visual C++, your modifications will be overwritten.
#include "stdafx.h"
#include "sothemegraph.h"
// Dispatch interfaces referenced by this interface
#include "soTextStyle.h"
#include "sostyle.h"
/////////////////////////////////////////////////////////////////////////////
// CsoThemeGraph properties
BOOL CsoThemeGraph::GetValid()
{
BOOL result;
GetProperty(0x1, VT_BOOL, (void*)&result);
return result;
}
void CsoThemeGraph::SetValid(BOOL propVal)
{
SetProperty(0x1, VT_BOOL, propVal);
}
BOOL CsoThemeGraph::GetEnable()
{
BOOL result;
GetProperty(0x2, VT_BOOL, (void*)&result);
return result;
}
void CsoThemeGraph::SetEnable(BOOL propVal)
{
SetProperty(0x2, VT_BOOL, propVal);
}
long CsoThemeGraph::GetFieldCount()
{
long result;
GetProperty(0x3, VT_I4, (void*)&result);
return result;
}
void CsoThemeGraph::SetFieldCount(long propVal)
{
SetProperty(0x3, VT_I4, propVal);
}
long CsoThemeGraph::GetGraphType()
{
long result;
GetProperty(0x4, VT_I4, (void*)&result);
return result;
}
void CsoThemeGraph::SetGraphType(long propVal)
{
SetProperty(0x4, VT_I4, propVal);
}
CString CsoThemeGraph::GetCaption()
{
CString result;
GetProperty(0x5, VT_BSTR, (void*)&result);
return result;
}
void CsoThemeGraph::SetCaption(LPCTSTR propVal)
{
SetProperty(0x5, VT_BSTR, propVal);
}
double CsoThemeGraph::GetMinSumSize()
{
double result;
GetProperty(0x6, VT_R8, (void*)&result);
return result;
}
void CsoThemeGraph::SetMinSumSize(double propVal)
{
SetProperty(0x6, VT_R8, propVal);
}
double CsoThemeGraph::GetMaxSumSize()
{
double result;
GetProperty(0x7, VT_R8, (void*)&result);
return result;
}
void CsoThemeGraph::SetMaxSumSize(double propVal)
{
SetProperty(0x7, VT_R8, propVal);
}
long CsoThemeGraph::GetGraduatedMode()
{
long result;
GetProperty(0x8, VT_I4, (void*)&result);
return result;
}
void CsoThemeGraph::SetGraduatedMode(long propVal)
{
SetProperty(0x8, VT_I4, propVal);
}
BOOL CsoThemeGraph::GetShowAxes()
{
BOOL result;
GetProperty(0xd, VT_BOOL, (void*)&result);
return result;
}
void CsoThemeGraph::SetShowAxes(BOOL propVal)
{
SetProperty(0xd, VT_BOOL, propVal);
}
unsigned long CsoThemeGraph::GetLineColor()
{
unsigned long result;
GetProperty(0xe, VT_I4, (void*)&result);
return result;
}
void CsoThemeGraph::SetLineColor(unsigned long propVal)
{
SetProperty(0xe, VT_I4, propVal);
}
double CsoThemeGraph::GetBarWidth()
{
double result;
GetProperty(0x10, VT_R8, (void*)&result);
return result;
}
void CsoThemeGraph::SetBarWidth(double propVal)
{
SetProperty(0x10, VT_R8, propVal);
}
double CsoThemeGraph::GetVisibleScaleMax()
{
double result;
GetProperty(0x14, VT_R8, (void*)&result);
return result;
}
void CsoThemeGraph::SetVisibleScaleMax(double propVal)
{
SetProperty(0x14, VT_R8, propVal);
}
double CsoThemeGraph::GetVisibleScaleMin()
{
double result;
GetProperty(0x15, VT_R8, (void*)&result);
return result;
}
void CsoThemeGraph::SetVisibleScaleMin(double propVal)
{
SetProperty(0x15, VT_R8, propVal);
}
BOOL CsoThemeGraph::GetEnableFlow()
{
BOOL result;
GetProperty(0x17, VT_BOOL, (void*)&result);
return result;
}
void CsoThemeGraph::SetEnableFlow(BOOL propVal)
{
SetProperty(0x17, VT_BOOL, propVal);
}
double CsoThemeGraph::GetOffsetX()
{
double result;
GetProperty(0x18, VT_R8, (void*)&result);
return result;
}
void CsoThemeGraph::SetOffsetX(double propVal)
{
SetProperty(0x18, VT_R8, propVal);
}
double CsoThemeGraph::GetOffsetY()
{
double result;
GetProperty(0x19, VT_R8, (void*)&result);
return result;
}
void CsoThemeGraph::SetOffsetY(double propVal)
{
SetProperty(0x19, VT_R8, propVal);
}
double CsoThemeGraph::GetStartAngle()
{
double result;
GetProperty(0x1a, VT_R8, (void*)&result);
return result;
}
void CsoThemeGraph::SetStartAngle(double propVal)
{
SetProperty(0x1a, VT_R8, propVal);
}
CsoTextStyle CsoThemeGraph::GetItemTextStyle()
{
LPDISPATCH pDispatch;
GetProperty(0x1b, VT_DISPATCH, (void*)&pDispatch);
return CsoTextStyle(pDispatch);
}
void CsoThemeGraph::SetItemTextStyle(LPDISPATCH propVal)
{
SetProperty(0x1b, VT_DISPATCH, propVal);
}
CsoTextStyle CsoThemeGraph::GetAxesTextStyle()
{
LPDISPATCH pDispatch;
GetProperty(0x1c, VT_DISPATCH, (void*)&pDispatch);
return CsoTextStyle(pDispatch);
}
void CsoThemeGraph::SetAxesTextStyle(LPDISPATCH propVal)
{
SetProperty(0x1c, VT_DISPATCH, propVal);
}
long CsoThemeGraph::GetItemTextFormat()
{
long result;
GetProperty(0x1d, VT_I4, (void*)&result);
return result;
}
void CsoThemeGraph::SetItemTextFormat(long propVal)
{
SetProperty(0x1d, VT_I4, propVal);
}
BOOL CsoThemeGraph::GetShowAxesText()
{
BOOL result;
GetProperty(0x1e, VT_BOOL, (void*)&result);
return result;
}
void CsoThemeGraph::SetShowAxesText(BOOL propVal)
{
SetProperty(0x1e, VT_BOOL, propVal);
}
BOOL CsoThemeGraph::GetShowItemText()
{
BOOL result;
GetProperty(0x1f, VT_BOOL, (void*)&result);
return result;
}
void CsoThemeGraph::SetShowItemText(BOOL propVal)
{
SetProperty(0x1f, VT_BOOL, propVal);
}
BOOL CsoThemeGraph::GetShowLeaderLines()
{
BOOL result;
GetProperty(0x20, VT_BOOL, (void*)&result);
return result;
}
void CsoThemeGraph::SetShowLeaderLines(BOOL propVal)
{
SetProperty(0x20, VT_BOOL, propVal);
}
CsoStyle CsoThemeGraph::GetLeaderLineStyle()
{
LPDISPATCH pDispatch;
GetProperty(0x21, VT_DISPATCH, (void*)&pDispatch);
return CsoStyle(pDispatch);
}
void CsoThemeGraph::SetLeaderLineStyle(LPDISPATCH propVal)
{
SetProperty(0x21, VT_DISPATCH, propVal);
}
BOOL CsoThemeGraph::GetShowAxisGrid()
{
BOOL result;
GetProperty(0x22, VT_BOOL, (void*)&result);
return result;
}
void CsoThemeGraph::SetShowAxisGrid(BOOL propVal)
{
SetProperty(0x22, VT_BOOL, propVal);
}
/////////////////////////////////////////////////////////////////////////////
// CsoThemeGraph operations
CString CsoThemeGraph::GetField(long nIndex)
{
CString result;
static BYTE parms[] =
VTS_I4;
InvokeHelper(0x9, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, parms,
nIndex);
return result;
}
void CsoThemeGraph::SetField(long nIndex, LPCTSTR lpszNewValue)
{
static BYTE parms[] =
VTS_I4 VTS_BSTR;
InvokeHelper(0x9, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
nIndex, lpszNewValue);
}
CString CsoThemeGraph::GetItemCaption(long nIndex)
{
CString result;
static BYTE parms[] =
VTS_I4;
InvokeHelper(0xb, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, parms,
nIndex);
return result;
}
void CsoThemeGraph::SetItemCaption(long nIndex, LPCTSTR lpszNewValue)
{
static BYTE parms[] =
VTS_I4 VTS_BSTR;
InvokeHelper(0xb, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
nIndex, lpszNewValue);
}
CString CsoThemeGraph::ToXML()
{
CString result;
InvokeHelper(0x11, DISPATCH_METHOD, VT_BSTR, (void*)&result, NULL);
return result;
}
BOOL CsoThemeGraph::FromXML(LPCTSTR strXML)
{
BOOL result;
static BYTE parms[] =
VTS_BSTR;
InvokeHelper(0x12, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms,
strXML);
return result;
}
CsoStyle CsoThemeGraph::GetStyle(long nIndex)
{
LPDISPATCH pDispatch;
static BYTE parms[] =
VTS_I4;
InvokeHelper(0x13, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, parms,
nIndex);
return CsoStyle(pDispatch);
}
void CsoThemeGraph::SetStyle(long nIndex, LPDISPATCH newValue)
{
static BYTE parms[] =
VTS_I4 VTS_DISPATCH;
InvokeHelper(0x13, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
nIndex, newValue);
}
long CsoThemeGraph::AddField(LPCTSTR strField)
{
long result;
static BYTE parms[] =
VTS_BSTR;
InvokeHelper(0x23, DISPATCH_METHOD, VT_I4, (void*)&result, parms,
strField);
return result;
}
long CsoThemeGraph::InsertField(long nIndex, LPCTSTR strField)
{
long result;
static BYTE parms[] =
VTS_I4 VTS_BSTR;
InvokeHelper(0x24, DISPATCH_METHOD, VT_I4, (void*)&result, parms,
nIndex, strField);
return result;
}
long CsoThemeGraph::RemoveField(long nIndex, const VARIANT& nCount)
{
long result;
static BYTE parms[] =
VTS_I4 VTS_VARIANT;
InvokeHelper(0x25, DISPATCH_METHOD, VT_I4, (void*)&result, parms,
nIndex, &nCount);
return result;
}
void CsoThemeGraph::RemoveAllField()
{
InvokeHelper(0x26, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
}
BOOL CsoThemeGraph::ExchangeField(long nIndex1, long nIndex2)
{
BOOL result;
static BYTE parms[] =
VTS_I4 VTS_I4;
InvokeHelper(0x27, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms,
nIndex1, nIndex2);
return result;
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -