sothemedotdensity.cpp

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

CPP
100
字号
// 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 "sothemedotdensity.h"


/////////////////////////////////////////////////////////////////////////////
// CsoThemeDotDensity properties

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

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

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

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

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

void CsoThemeDotDensity::SetField(LPCTSTR propVal)
{
	SetProperty(0x3, VT_BSTR, propVal);
}

unsigned long CsoThemeDotDensity::GetDotColor()
{
	unsigned long result;
	GetProperty(0x4, VT_I4, (void*)&result);
	return result;
}

void CsoThemeDotDensity::SetDotColor(unsigned long propVal)
{
	SetProperty(0x4, VT_I4, propVal);
}

long CsoThemeDotDensity::GetDotSize()
{
	long result;
	GetProperty(0x5, VT_I4, (void*)&result);
	return result;
}

void CsoThemeDotDensity::SetDotSize(long propVal)
{
	SetProperty(0x5, VT_I4, propVal);
}

double CsoThemeDotDensity::GetDotValue()
{
	double result;
	GetProperty(0x6, VT_R8, (void*)&result);
	return result;
}

void CsoThemeDotDensity::SetDotValue(double propVal)
{
	SetProperty(0x6, VT_R8, propVal);
}

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

void CsoThemeDotDensity::SetCaption(LPCTSTR propVal)
{
	SetProperty(0x7, VT_BSTR, propVal);
}

/////////////////////////////////////////////////////////////////////////////
// CsoThemeDotDensity operations

⌨️ 快捷键说明

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