?? cmapx.cpp
字號(hào):
// 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 "cmapx.h"
/////////////////////////////////////////////////////////////////////////////
// CCMapX
IMPLEMENT_DYNCREATE(CCMapX, CWnd)
/////////////////////////////////////////////////////////////////////////////
// CCMapX properties
CString CCMapX::GetDataSetGeoField()
{
CString result;
GetProperty(0x1, VT_BSTR, (void*)&result);
return result;
}
void CCMapX::SetDataSetGeoField(LPCTSTR propVal)
{
SetProperty(0x1, VT_BSTR, propVal);
}
CString CCMapX::GetVersion()
{
CString result;
GetProperty(0x2, VT_BSTR, (void*)&result);
return result;
}
OLE_HANDLE CCMapX::GetHWnd()
{
OLE_HANDLE result;
GetProperty(DISPID_HWND, VT_I4, (void*)&result);
return result;
}
LPDISPATCH CCMapX::GetAnnotations()
{
LPDISPATCH result;
GetProperty(0x3, VT_DISPATCH, (void*)&result);
return result;
}
LPUNKNOWN CCMapX::GetDataset()
{
LPUNKNOWN result;
GetProperty(0x4, VT_UNKNOWN, (void*)&result);
return result;
}
void CCMapX::SetDataset(LPUNKNOWN propVal)
{
SetProperty(0x4, VT_UNKNOWN, propVal);
}
LPDISPATCH CCMapX::GetLayers()
{
LPDISPATCH result;
GetProperty(0x5, VT_DISPATCH, (void*)&result);
return result;
}
BOOL CCMapX::GetAutoRedraw()
{
BOOL result;
GetProperty(0x6, VT_BOOL, (void*)&result);
return result;
}
void CCMapX::SetAutoRedraw(BOOL propVal)
{
SetProperty(0x6, VT_BOOL, propVal);
}
double CCMapX::GetZoom()
{
double result;
GetProperty(0x7, VT_R8, (void*)&result);
return result;
}
void CCMapX::SetZoom(double propVal)
{
SetProperty(0x7, VT_R8, propVal);
}
double CCMapX::GetCenterX()
{
double result;
GetProperty(0x8, VT_R8, (void*)&result);
return result;
}
void CCMapX::SetCenterX(double propVal)
{
SetProperty(0x8, VT_R8, propVal);
}
double CCMapX::GetCenterY()
{
double result;
GetProperty(0x9, VT_R8, (void*)&result);
return result;
}
void CCMapX::SetCenterY(double propVal)
{
SetProperty(0x9, VT_R8, propVal);
}
CString CCMapX::GetGeoSet()
{
CString result;
GetProperty(0xa, VT_BSTR, (void*)&result);
return result;
}
void CCMapX::SetGeoSet(LPCTSTR propVal)
{
SetProperty(0xa, VT_BSTR, propVal);
}
double CCMapX::GetGeoSetWidth()
{
double result;
GetProperty(0xb, VT_R8, (void*)&result);
return result;
}
double CCMapX::GetMapPaperHeight()
{
double result;
GetProperty(0xc, VT_R8, (void*)&result);
return result;
}
double CCMapX::GetMapPaperWidth()
{
double result;
GetProperty(0xd, VT_R8, (void*)&result);
return result;
}
short CCMapX::GetMaxSearchTime()
{
short result;
GetProperty(0xe, VT_I2, (void*)&result);
return result;
}
void CCMapX::SetMaxSearchTime(short propVal)
{
SetProperty(0xe, VT_I2, propVal);
}
long CCMapX::GetPaperUnit()
{
long result;
GetProperty(0xf, VT_I4, (void*)&result);
return result;
}
void CCMapX::SetPaperUnit(long propVal)
{
SetProperty(0xf, VT_I4, propVal);
}
BOOL CCMapX::GetPreferCompactLegends()
{
BOOL result;
GetProperty(0x10, VT_BOOL, (void*)&result);
return result;
}
void CCMapX::SetPreferCompactLegends(BOOL propVal)
{
SetProperty(0x10, VT_BOOL, propVal);
}
LPDISPATCH CCMapX::GetDefaultStyle()
{
LPDISPATCH result;
GetProperty(0x11, VT_DISPATCH, (void*)&result);
return result;
}
void CCMapX::SetDefaultStyle(LPDISPATCH propVal)
{
SetProperty(0x11, VT_DISPATCH, propVal);
}
CString CCMapX::GetGeoDictionary()
{
CString result;
GetProperty(0x12, VT_BSTR, (void*)&result);
return result;
}
void CCMapX::SetGeoDictionary(LPCTSTR propVal)
{
SetProperty(0x12, VT_BSTR, propVal);
}
long CCMapX::GetDataSetTheme()
{
long result;
GetProperty(0x13, VT_I4, (void*)&result);
return result;
}
void CCMapX::SetDataSetTheme(long propVal)
{
SetProperty(0x13, VT_I4, propVal);
}
long CCMapX::GetCurrentTool()
{
long result;
GetProperty(0x14, VT_I4, (void*)&result);
return result;
}
void CCMapX::SetCurrentTool(long propVal)
{
SetProperty(0x14, VT_I4, propVal);
}
long CCMapX::GetMousePointer()
{
long result;
GetProperty(0x15, VT_I4, (void*)&result);
return result;
}
void CCMapX::SetMousePointer(long propVal)
{
SetProperty(0x15, VT_I4, propVal);
}
LPDISPATCH CCMapX::GetDataSets()
{
LPDISPATCH result;
GetProperty(0x16, VT_DISPATCH, (void*)&result);
return result;
}
LPDISPATCH CCMapX::GetTitle()
{
LPDISPATCH result;
GetProperty(0x17, VT_DISPATCH, (void*)&result);
return result;
}
CString CCMapX::GetTitleText()
{
CString result;
GetProperty(0x18, VT_BSTR, (void*)&result);
return result;
}
void CCMapX::SetTitleText(LPCTSTR propVal)
{
SetProperty(0x18, VT_BSTR, propVal);
}
long CCMapX::GetMapUnit()
{
long result;
GetProperty(0x19, VT_I4, (void*)&result);
return result;
}
void CCMapX::SetMapUnit(long propVal)
{
SetProperty(0x19, VT_I4, propVal);
}
double CCMapX::GetRotation()
{
double result;
GetProperty(0x1a, VT_R8, (void*)&result);
return result;
}
void CCMapX::SetRotation(double propVal)
{
SetProperty(0x1a, VT_R8, propVal);
}
LPDISPATCH CCMapX::GetGeosets()
{
LPDISPATCH result;
GetProperty(0x1b, VT_DISPATCH, (void*)&result);
return result;
}
long CCMapX::GetAreaUnit()
{
long result;
GetProperty(0x1c, VT_I4, (void*)&result);
return result;
}
void CCMapX::SetAreaUnit(long propVal)
{
SetProperty(0x1c, VT_I4, propVal);
}
LPDISPATCH CCMapX::GetBounds()
{
LPDISPATCH result;
GetProperty(0x1d, VT_DISPATCH, (void*)&result);
return result;
}
void CCMapX::SetBounds(LPDISPATCH propVal)
{
SetProperty(0x1d, VT_DISPATCH, propVal);
}
LPDISPATCH CCMapX::GetDisplayCoordSys()
{
LPDISPATCH result;
GetProperty(0x1e, VT_DISPATCH, (void*)&result);
return result;
}
void CCMapX::SetDisplayCoordSys(LPDISPATCH propVal)
{
SetProperty(0x1e, VT_DISPATCH, propVal);
}
LPDISPATCH CCMapX::GetNumericCoordSys()
{
LPDISPATCH result;
GetProperty(0x1f, VT_DISPATCH, (void*)&result);
return result;
}
void CCMapX::SetNumericCoordSys(LPDISPATCH propVal)
{
SetProperty(0x1f, VT_DISPATCH, propVal);
}
BOOL CCMapX::GetExportSelection()
{
BOOL result;
GetProperty(0x20, VT_BOOL, (void*)&result);
return result;
}
void CCMapX::SetExportSelection(BOOL propVal)
{
SetProperty(0x20, VT_BOOL, propVal);
}
LPDISPATCH CCMapX::GetSelectionStyle()
{
LPDISPATCH result;
GetProperty(0x21, VT_DISPATCH, (void*)&result);
return result;
}
void CCMapX::SetSelectionStyle(LPDISPATCH propVal)
{
SetProperty(0x21, VT_DISPATCH, propVal);
}
LPDISPATCH CCMapX::GetFeatureFactory()
{
LPDISPATCH result;
GetProperty(0x31, VT_DISPATCH, (void*)&result);
return result;
}
long CCMapX::GetDefaultConversionResolution()
{
long result;
return result;
}
void CCMapX::SetDefaultConversionResolution(long propVal)
{
SetProperty(0x32, VT_I4, propVal);
}
OLE_COLOR CCMapX::GetBackColor()
{
OLE_COLOR result;
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -