sothemecustom.cpp

来自「SuperMap的网络分析示范源码」· C++ 代码 · 共 261 行

CPP
261
字号
// 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 "sothemecustom.h"


/////////////////////////////////////////////////////////////////////////////
// CsoThemeCustom properties

BOOL CsoThemeCustom::GetValid()
{
	BOOL result;
	GetProperty(0x1, VT_BOOL, (void*)&result);
	return result;
}

void CsoThemeCustom::SetValid(BOOL propVal)
{
	SetProperty(0x1, VT_BOOL, propVal);
}

BOOL CsoThemeCustom::GetEnable()
{
	BOOL result;
	GetProperty(0x2, VT_BOOL, (void*)&result);
	return result;
}

void CsoThemeCustom::SetEnable(BOOL propVal)
{
	SetProperty(0x2, VT_BOOL, propVal);
}

CString CsoThemeCustom::GetSymbolStyleField()
{
	CString result;
	GetProperty(0x3, VT_BSTR, (void*)&result);
	return result;
}

void CsoThemeCustom::SetSymbolStyleField(LPCTSTR propVal)
{
	SetProperty(0x3, VT_BSTR, propVal);
}

CString CsoThemeCustom::GetSymbolSizeField()
{
	CString result;
	GetProperty(0x4, VT_BSTR, (void*)&result);
	return result;
}

void CsoThemeCustom::SetSymbolSizeField(LPCTSTR propVal)
{
	SetProperty(0x4, VT_BSTR, propVal);
}

CString CsoThemeCustom::GetSymbolRotationField()
{
	CString result;
	GetProperty(0x5, VT_BSTR, (void*)&result);
	return result;
}

void CsoThemeCustom::SetSymbolRotationField(LPCTSTR propVal)
{
	SetProperty(0x5, VT_BSTR, propVal);
}

CString CsoThemeCustom::GetPenStyleField()
{
	CString result;
	GetProperty(0x6, VT_BSTR, (void*)&result);
	return result;
}

void CsoThemeCustom::SetPenStyleField(LPCTSTR propVal)
{
	SetProperty(0x6, VT_BSTR, propVal);
}

CString CsoThemeCustom::GetPenWidthField()
{
	CString result;
	GetProperty(0x7, VT_BSTR, (void*)&result);
	return result;
}

void CsoThemeCustom::SetPenWidthField(LPCTSTR propVal)
{
	SetProperty(0x7, VT_BSTR, propVal);
}

CString CsoThemeCustom::GetPenColorField()
{
	CString result;
	GetProperty(0x8, VT_BSTR, (void*)&result);
	return result;
}

void CsoThemeCustom::SetPenColorField(LPCTSTR propVal)
{
	SetProperty(0x8, VT_BSTR, propVal);
}

CString CsoThemeCustom::GetBrushStyleField()
{
	CString result;
	GetProperty(0x9, VT_BSTR, (void*)&result);
	return result;
}

void CsoThemeCustom::SetBrushStyleField(LPCTSTR propVal)
{
	SetProperty(0x9, VT_BSTR, propVal);
}

CString CsoThemeCustom::GetBrushColorField()
{
	CString result;
	GetProperty(0xa, VT_BSTR, (void*)&result);
	return result;
}

void CsoThemeCustom::SetBrushColorField(LPCTSTR propVal)
{
	SetProperty(0xa, VT_BSTR, propVal);
}

CString CsoThemeCustom::GetBrushBackColorField()
{
	CString result;
	GetProperty(0xb, VT_BSTR, (void*)&result);
	return result;
}

void CsoThemeCustom::SetBrushBackColorField(LPCTSTR propVal)
{
	SetProperty(0xb, VT_BSTR, propVal);
}

CString CsoThemeCustom::GetCaption()
{
	CString result;
	GetProperty(0xc, VT_BSTR, (void*)&result);
	return result;
}

void CsoThemeCustom::SetCaption(LPCTSTR propVal)
{
	SetProperty(0xc, VT_BSTR, propVal);
}

double CsoThemeCustom::GetVisibleScaleMax()
{
	double result;
	GetProperty(0xf, VT_R8, (void*)&result);
	return result;
}

void CsoThemeCustom::SetVisibleScaleMax(double propVal)
{
	SetProperty(0xf, VT_R8, propVal);
}

double CsoThemeCustom::GetVisibleScaleMin()
{
	double result;
	GetProperty(0x10, VT_R8, (void*)&result);
	return result;
}

void CsoThemeCustom::SetVisibleScaleMin(double propVal)
{
	SetProperty(0x10, VT_R8, propVal);
}

CString CsoThemeCustom::GetBrushOpaqueRateField()
{
	CString result;
	GetProperty(0x11, VT_BSTR, (void*)&result);
	return result;
}

void CsoThemeCustom::SetBrushOpaqueRateField(LPCTSTR propVal)
{
	SetProperty(0x11, VT_BSTR, propVal);
}

CString CsoThemeCustom::GetBrushGradientTypeField()
{
	CString result;
	GetProperty(0x12, VT_BSTR, (void*)&result);
	return result;
}

void CsoThemeCustom::SetBrushGradientTypeField(LPCTSTR propVal)
{
	SetProperty(0x12, VT_BSTR, propVal);
}

CString CsoThemeCustom::GetBrushGradientAngleField()
{
	CString result;
	GetProperty(0x13, VT_BSTR, (void*)&result);
	return result;
}

void CsoThemeCustom::SetBrushGradientAngleField(LPCTSTR propVal)
{
	SetProperty(0x13, VT_BSTR, propVal);
}

CString CsoThemeCustom::GetBrushCenterOffsetXField()
{
	CString result;
	GetProperty(0x14, VT_BSTR, (void*)&result);
	return result;
}

void CsoThemeCustom::SetBrushCenterOffsetXField(LPCTSTR propVal)
{
	SetProperty(0x14, VT_BSTR, propVal);
}

CString CsoThemeCustom::GetBrushCenterOffsetYField()
{
	CString result;
	GetProperty(0x15, VT_BSTR, (void*)&result);
	return result;
}

void CsoThemeCustom::SetBrushCenterOffsetYField(LPCTSTR propVal)
{
	SetProperty(0x15, VT_BSTR, propVal);
}

/////////////////////////////////////////////////////////////////////////////
// CsoThemeCustom operations

CString CsoThemeCustom::ToXML()
{
	CString result;
	InvokeHelper(0xd, DISPATCH_METHOD, VT_BSTR, (void*)&result, NULL);
	return result;
}

BOOL CsoThemeCustom::FromXML(LPCTSTR strXML)
{
	BOOL result;
	static BYTE parms[] =
		VTS_BSTR;
	InvokeHelper(0xe, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms,
		strXML);
	return result;
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?