sothemecustom.cpp

来自「用VC+SuperMap开发的校园GIS系统」· C++ 代码 · 共 160 行

CPP
160
字号
// 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);
}

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

⌨️ 快捷键说明

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