⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 superlayout.cpp

📁 supermap objects 二次开发的vc文件相关的包
💻 CPP
📖 第 1 页 / 共 5 页
字号:

void CsoLytMapBorder::SetInBorderPenWidth(long propVal)
{
	SetProperty(0x1, VT_I4, propVal);
}

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

void CsoLytMapBorder::SetOutBorderPenWidth(long propVal)
{
	SetProperty(0x2, VT_I4, propVal);
}

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

void CsoLytMapBorder::SetOutLinePenWidth(long propVal)
{
	SetProperty(0x3, VT_I4, propVal);
}

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

void CsoLytMapBorder::SetInLinePenWidth(long propVal)
{
	SetProperty(0x4, VT_I4, propVal);
}

unsigned long CsoLytMapBorder::GetOutLinePenColor()
{
	unsigned long result;
	GetProperty(0x5, VT_I4, (void*)&result);
	return result;
}

void CsoLytMapBorder::SetOutLinePenColor(unsigned long propVal)
{
	SetProperty(0x5, VT_I4, propVal);
}

unsigned long CsoLytMapBorder::GetInLinePenColor()
{
	unsigned long result;
	GetProperty(0x6, VT_I4, (void*)&result);
	return result;
}

void CsoLytMapBorder::SetInLinePenColor(unsigned long propVal)
{
	SetProperty(0x6, VT_I4, propVal);
}

unsigned long CsoLytMapBorder::GetOutBorderPenColor()
{
	unsigned long result;
	GetProperty(0x7, VT_I4, (void*)&result);
	return result;
}

void CsoLytMapBorder::SetOutBorderPenColor(unsigned long propVal)
{
	SetProperty(0x7, VT_I4, propVal);
}

unsigned long CsoLytMapBorder::GetInBorderPenColor()
{
	unsigned long result;
	GetProperty(0x8, VT_I4, (void*)&result);
	return result;
}

void CsoLytMapBorder::SetInBorderPenColor(unsigned long propVal)
{
	SetProperty(0x8, VT_I4, propVal);
}

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

void CsoLytMapBorder::SetInBorderDist(long propVal)
{
	SetProperty(0x9, VT_I4, propVal);
}

long CsoLytMapBorder::GetInLineDist()
{
	long result;
	GetProperty(0xa, VT_I4, (void*)&result);
	return result;
}

void CsoLytMapBorder::SetInLineDist(long propVal)
{
	SetProperty(0xa, VT_I4, propVal);
}

long CsoLytMapBorder::GetOutLineDist()
{
	long result;
	GetProperty(0xb, VT_I4, (void*)&result);
	return result;
}

void CsoLytMapBorder::SetOutLineDist(long propVal)
{
	SetProperty(0xb, VT_I4, propVal);
}

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

void CsoLytMapBorder::SetOutBorderDist(long propVal)
{
	SetProperty(0xc, VT_I4, propVal);
}

long CsoLytMapBorder::GetFillStyle()
{
	long result;
	GetProperty(0xd, VT_I4, (void*)&result);
	return result;
}

void CsoLytMapBorder::SetFillStyle(long propVal)
{
	SetProperty(0xd, VT_I4, propVal);
}

long CsoLytMapBorder::GetCornerFillStyle()
{
	long result;
	GetProperty(0xe, VT_I4, (void*)&result);
	return result;
}

void CsoLytMapBorder::SetCornerFillStyle(long propVal)
{
	SetProperty(0xe, VT_I4, propVal);
}

CString CsoLytMapBorder::GetFilledBmpName()
{
	CString result;
	GetProperty(0xf, VT_BSTR, (void*)&result);
	return result;
}

void CsoLytMapBorder::SetFilledBmpName(LPCTSTR propVal)
{
	SetProperty(0xf, VT_BSTR, propVal);
}

CString CsoLytMapBorder::GetCornerFilledBmpName()
{
	CString result;
	GetProperty(0x10, VT_BSTR, (void*)&result);
	return result;
}

void CsoLytMapBorder::SetCornerFilledBmpName(LPCTSTR propVal)
{
	SetProperty(0x10, VT_BSTR, propVal);
}

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

void CsoLytMapBorder::SetFilledString(LPCTSTR propVal)
{
	SetProperty(0x11, VT_BSTR, propVal);
}

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

void CsoLytMapBorder::SetCornerFilledString(LPCTSTR propVal)
{
	SetProperty(0x12, VT_BSTR, propVal);
}

unsigned long CsoLytMapBorder::GetFilledStringColor()
{
	unsigned long result;
	GetProperty(0x13, VT_I4, (void*)&result);
	return result;
}

void CsoLytMapBorder::SetFilledStringColor(unsigned long propVal)
{
	SetProperty(0x13, VT_I4, propVal);
}

unsigned long CsoLytMapBorder::GetCornerFilledStringColor()
{
	unsigned long result;
	GetProperty(0x14, VT_I4, (void*)&result);
	return result;
}

void CsoLytMapBorder::SetCornerFilledStringColor(unsigned long propVal)
{
	SetProperty(0x14, VT_I4, propVal);
}

long CsoLytMapBorder::GetRotateBase()
{
	long result;
	GetProperty(0x15, VT_I4, (void*)&result);
	return result;
}

void CsoLytMapBorder::SetRotateBase(long propVal)
{
	SetProperty(0x15, VT_I4, propVal);
}

long CsoLytMapBorder::GetCornerRotateBase()
{
	long result;
	GetProperty(0x16, VT_I4, (void*)&result);
	return result;
}

void CsoLytMapBorder::SetCornerRotateBase(long propVal)
{
	SetProperty(0x16, VT_I4, propVal);
}

LPDISPATCH CsoLytMapBorder::GetFilledFont()
{
	LPDISPATCH result;
	GetProperty(0x17, VT_DISPATCH, (void*)&result);
	return result;
}

void CsoLytMapBorder::SetFilledFont(LPDISPATCH propVal)
{
	SetProperty(0x17, VT_DISPATCH, propVal);
}

LPDISPATCH CsoLytMapBorder::GetCornerFilledFont()
{
	LPDISPATCH result;
	GetProperty(0x18, VT_DISPATCH, (void*)&result);
	return result;
}

void CsoLytMapBorder::SetCornerFilledFont(LPDISPATCH propVal)
{
	SetProperty(0x18, VT_DISPATCH, propVal);
}

/////////////////////////////////////////////////////////////////////////////
// CsoLytMapBorder operations


/////////////////////////////////////////////////////////////////////////////
// CsoLytGroup properties

long CsoLytGroup::GetType()
{
	long result;
	GetProperty(0x1, VT_I4, (void*)&result);
	return result;
}

void CsoLytGroup::SetType(long propVal)
{
	SetProperty(0x1, VT_I4, propVal);
}

LPDISPATCH CsoLytGroup::GetBounds()
{
	LPDISPATCH result;
	GetProperty(0x2, VT_DISPATCH, (void*)&result);
	return result;
}

void CsoLytGroup::SetBounds(LPDISPATCH propVal)
{
	SetProperty(0x2, VT_DISPATCH, propVal);
}

LPDISPATCH CsoLytGroup::GetStyle()
{
	LPDISPATCH result;
	GetProperty(0x3, VT_DISPATCH, (void*)&result);
	return result;
}

void CsoLytGroup::SetStyle(LPDISPATCH propVal)
{
	SetProperty(0x3, VT_DISPATCH, propVal);
}

BOOL CsoLytGroup::GetEditable()
{
	BOOL result;
	GetProperty(0x9, VT_BOOL, (void*)&result);
	return result;
}

void CsoLytGroup::SetEditable(BOOL propVal)
{
	SetProperty(0x9, VT_BOOL, propVal);
}

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

void CsoLytGroup::SetTag(LPCTSTR propVal)
{
	SetProperty(0xa, VT_BSTR, propVal);
}

long CsoLytGroup::GetCount()
{
	long result;
	GetProperty(0xb, VT_I4, (void*)&result);
	return result;
}

void CsoLytGroup::SetCount(long propVal)
{
	SetProperty(0xb, VT_I4, propVal);
}

/////////////////////////////////////////////////////////////////////////////
// CsoLytGroup operations

void CsoLytGroup::SetPosition(LPDISPATCH newpostion)
{
	static BYTE parms[] =
		VTS_DISPATCH;
	InvokeHelper(0x4, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
		 newpostion);
}

void CsoLytGroup::Move(long xOffset, long yOffset)
{
	static BYTE parms[] =
		VTS_I4 VTS_I4;
	InvokeHelper(0x5, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
		 xOffset, yOffset);
}

void CsoLytGroup::AlignToGrid()
{
	InvokeHelper(0x6, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
}

BOOL CsoLytGroup::HitTest(long x, long y)
{
	BOOL result;
	static BYTE parms[] =
		VTS_I4 VTS_I4;
	InvokeHelper(0x7, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms,
		x, y);
	return result;
}

void CsoLytGroup::ShowPropertyDlg()
{
	InvokeHelper(0x8, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
}

BOOL CsoLytGroup::Add(LPDISPATCH objLytElement)
{
	BOOL result;
	static BYTE parms[] =
		VTS_DISPATCH;
	InvokeHelper(0xc, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms,
		objLytElement);
	return result;
}

BOOL CsoLytGroup::Remove(long nIndex)
{
	BOOL result;
	static BYTE parms[] =
		VTS_I4;
	InvokeHelper(0xd, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms,
		nIndex);
	return result;
}

LPDISPATCH CsoLytGroup::GetItem(long nIndex)
{
	LPDISPATCH result;
	static BYTE parms[] =
		VTS_I4;
	InvokeHelper(0xe, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, parms,
		nIndex);
	return result;
}

void CsoLytGroup::SetRefItem(long nIndex, LPDISPATCH newValue)
{
	static BYTE parms[] =
		VTS_I4 VTS_DISPATCH;
	InvokeHelper(0xe, DISPATCH_PROPERTYPUTREF, VT_EMPTY, NULL, parms,
		 nIndex, newValue);
}


/////////////////////////////////////////////////////////////////////////////
// CsoLytMap properties

long CsoLytMap::GetType()
{
	long result;
	GetProperty(0x1, VT_I4, (void*)&result);
	return result;
}

void CsoLytMap::SetType(long propVal)
{
	SetProperty(0x1, VT_I4, propVal);
}

LPDISPATCH CsoLytMap::GetBounds()
{
	LPDISPATCH result;
	GetProperty(0x2, VT_DISPATCH, (void*)&result);
	return result;
}

void CsoLytMap::SetBounds(LPDISPATCH propVal)
{
	SetProperty(0x2, VT_DISPATCH, propVal);
}

LPDISPATCH CsoLytMap::GetStyle()
{
	LPDISPATCH result;
	GetProperty(0x3, VT_DISPATCH, (void*)&result);
	return result;
}

void CsoLytMap::SetStyle(LPDISPATCH propVal)
{
	SetProperty(0x3, VT_DISPATCH, propVal);
}

BOOL CsoLytMap::GetEditable()
{
	BOOL result;
	GetProperty(0x9, VT_BOOL, (void*)&result);
	return result;
}

void CsoLytMap::SetEditable(BOOL propVal)
{
	SetProperty(0x9, VT_BOOL, propVal);
}

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

void CsoLytMap::SetTag(LPCTSTR propVal)
{
	SetProperty(0xa, VT_BSTR, propVal);
}

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

void CsoLytMap::SetMapName(LPCTSTR propVal)
{
	SetProperty(0xb, VT_BSTR, propVal);
}

BOOL CsoLytMap::GetMapHold()
{
	BOOL result;
	GetProperty(0xc, VT_BOOL, (void*)&result);
	return result;
}

void CsoLytMap::SetMapHold(BOOL propVal)
{
	SetProperty(0xc, VT_BOOL, propVal);
}

long CsoLytMap::GetMapAction()
{
	long result;
	GetProperty(0xd, VT_I4, (void*)&result);
	return result;
}

void CsoLytMap::SetMapAction(long propVal)
{
	SetProperty(0xd, VT_I4, propVal);
}

double CsoLytMap::GetMapScale()
{
	double result;
	GetProperty(0xe, VT_R8, (void*)&result);
	return result;
}

void CsoLytMap::SetMapScale(double propVal)
{
	SetProperty(0xe, VT_R8, propVal);
}

LPDISPATCH CsoLytMap::GetGeoBounds()
{
	LPDISPATCH result;
	GetProperty(0xf, VT_DISPATCH, (void*)&result);
	return result;
}

void CsoLytMap::SetGeoBounds(LPDISPATCH propVal)
{
	SetProperty(0xf, VT_DISPATCH, propVal);
}

long CsoLytMap::GetBorderType()
{
	long result;
	GetProperty(0x10, VT_I4, (void*)&result);
	return result;
}

void CsoLytMap::SetBorderType(long propVal)
{
	SetProperty(0x10, VT_I4, propVal);
}

LPDISPATCH CsoLytMap::GetMapBorder()
{
	LPDISPATCH result;
	GetProperty(0x11, VT_DISPATCH, (void*)&result);
	return result;
}

void CsoLytMap::SetMapBorder(LPDISPATCH propVal)
{
	SetProperty(0x11, VT_DISPATCH, propVal);
}

LPDISPATCH CsoLytMap::GetClipRegion()
{
	LPDISPATCH result;
	GetProperty(0x14, VT_DISPATCH, (void*)&result);
	return result;
}

void CsoLytMap::SetClipRegion(LPDISPATCH propVal)
{
	SetProperty(0x14, VT_DISPATCH, propVal);
}

/////////////////////////////////////////////////////////////////////////////
// CsoLytMap operations

void CsoLytMap::SetPosition(LPDISPATCH newpostion)
{
	static BYTE parms[] =
		VTS_DISPATCH;
	InvokeHelper(0x4, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
		 newpostion);
}

void CsoLytMap::Move(long xOffset, long yOffset)
{
	static BYTE parms[] =
		VTS_I4 VTS_I4;
	InvokeHelper(0x5, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
		 xOffset, yOffset);
}

void CsoLytMap::AlignToGrid()
{
	InvokeHelper(0x6, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
}

BOOL CsoLytMap::HitTest(long x, long y)
{
	BOOL result;
	static BYTE parms[] =
		VTS_I4 VTS_I4;
	InvokeHelper(0x7, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms,
		x, y);
	return result;
}

void CsoLytMap::ShowPropertyDlg()
{
	InvokeHelper(0x8, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
}

void CsoLytMap::ViewEntire()
{
	InvokeHelper(0x12, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
}

void CsoLytMap::CenterAt(double x, double y)

⌨️ 快捷键说明

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