modotdensityrenderer.cpp

来自「电子地图的代码 实现一些空间功能 比如说放大 缩小等 是以美国为例」· C++ 代码 · 共 88 行

CPP
88
字号
// 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 "modotdensityrenderer.h"


/////////////////////////////////////////////////////////////////////////////
// CMoDotDensityRenderer properties

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

void CMoDotDensityRenderer::SetField(LPCTSTR propVal)
{
	SetProperty(0x1, VT_BSTR, propVal);
}

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

void CMoDotDensityRenderer::SetDotValue(double propVal)
{
	SetProperty(0x2, VT_R8, propVal);
}

short CMoDotDensityRenderer::GetDotSize()
{
	short result;
	GetProperty(0x6, VT_I2, (void*)&result);
	return result;
}

void CMoDotDensityRenderer::SetDotSize(short propVal)
{
	SetProperty(0x6, VT_I2, propVal);
}

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

void CMoDotDensityRenderer::SetDotColor(unsigned long propVal)
{
	SetProperty(0x3, VT_I4, propVal);
}

BOOL CMoDotDensityRenderer::GetDrawBackground()
{
	BOOL result;
	GetProperty(0x4, VT_BOOL, (void*)&result);
	return result;
}

void CMoDotDensityRenderer::SetDrawBackground(BOOL propVal)
{
	SetProperty(0x4, VT_BOOL, propVal);
}

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

void CMoDotDensityRenderer::SetTag(LPCTSTR propVal)
{
	SetProperty(0x5, VT_BSTR, propVal);
}

/////////////////////////////////////////////////////////////////////////////
// CMoDotDensityRenderer operations

⌨️ 快捷键说明

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