soexportparams.cpp

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

CPP
175
字号
// 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 "soexportparams.h"

// Dispatch interfaces referenced by this interface
#include "sodgnunits.h"


/////////////////////////////////////////////////////////////////////////////
// CsoExportParams properties

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

void CsoExportParams::SetShowProgress(BOOL propVal)
{
	SetProperty(0x1, VT_BOOL, propVal);
}

long CsoExportParams::GetDBFFileType()
{
	long result;
	GetProperty(0x2, VT_I4, (void*)&result);
	return result;
}

void CsoExportParams::SetDBFFileType(long propVal)
{
	SetProperty(0x2, VT_I4, propVal);
}

long CsoExportParams::GetCoverageType()
{
	long result;
	GetProperty(0x3, VT_I4, (void*)&result);
	return result;
}

void CsoExportParams::SetCoverageType(long propVal)
{
	SetProperty(0x3, VT_I4, propVal);
}

long CsoExportParams::GetDesUnits()
{
	long result;
	GetProperty(0x4, VT_I4, (void*)&result);
	return result;
}

void CsoExportParams::SetDesUnits(long propVal)
{
	SetProperty(0x4, VT_I4, propVal);
}

CsoDgnUnits CsoExportParams::GetDgnUnits()
{
	LPDISPATCH pDispatch;
	GetProperty(0x5, VT_DISPATCH, (void*)&pDispatch);
	return CsoDgnUnits(pDispatch);
}

void CsoExportParams::SetDgnUnits(LPDISPATCH propVal)
{
	SetProperty(0x5, VT_DISPATCH, propVal);
}

long CsoExportParams::GetDgnUnitsSelected()
{
	long result;
	GetProperty(0x6, VT_I4, (void*)&result);
	return result;
}

void CsoExportParams::SetDgnUnitsSelected(long propVal)
{
	SetProperty(0x6, VT_I4, propVal);
}

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

void CsoExportParams::SetDatasetToBeExported(LPCTSTR propVal)
{
	SetProperty(0x7, VT_BSTR, propVal);
}

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

void CsoExportParams::SetFileName(LPCTSTR propVal)
{
	SetProperty(0x8, VT_BSTR, propVal);
}

long CsoExportParams::GetFileType()
{
	long result;
	GetProperty(0x9, VT_I4, (void*)&result);
	return result;
}

void CsoExportParams::SetFileType(long propVal)
{
	SetProperty(0x9, VT_I4, propVal);
}

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

void CsoExportParams::SetStyleMappingTableFile(LPCTSTR propVal)
{
	SetProperty(0xa, VT_BSTR, propVal);
}

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

void CsoExportParams::SetImageGeoRefFileName(LPCTSTR propVal)
{
	SetProperty(0xb, VT_BSTR, propVal);
}

long CsoExportParams::GetImageGeoRefFileType()
{
	long result;
	GetProperty(0xc, VT_I4, (void*)&result);
	return result;
}

void CsoExportParams::SetImageGeoRefFileType(long propVal)
{
	SetProperty(0xc, VT_I4, propVal);
}

CString CsoExportParams::GetLayerName()
{
	CString result;
	GetProperty(0xd, VT_BSTR, (void*)&result);
	return result;
}

void CsoExportParams::SetLayerName(LPCTSTR propVal)
{
	SetProperty(0xd, VT_BSTR, propVal);
}

/////////////////////////////////////////////////////////////////////////////
// CsoExportParams operations

⌨️ 快捷键说明

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