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

📄 mapcontroldefault.h

📁 基于AE的ArcGIS初级界面
💻 H
字号:
#if !defined(AFX_MAPCONTROLDEFAULT_H__3B377BBA_9BF7_4F17_AE28_4D42FD8B940F__INCLUDED_)
#define AFX_MAPCONTROLDEFAULT_H__3B377BBA_9BF7_4F17_AE28_4D42FD8B940F__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// 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.


// Dispatch interfaces referenced by this interface
class CPicture;

/////////////////////////////////////////////////////////////////////////////
// CMapControlDefault wrapper class

class CMapControlDefault : public CWnd
{
protected:
	DECLARE_DYNCREATE(CMapControlDefault)
public:
	CLSID const& GetClsid()
	{
		static CLSID const clsid
			= { 0xc552ea94, 0x6fbb, 0x11d5, { 0xa9, 0xc1, 0x0, 0x10, 0x4b, 0xb6, 0xfc, 0x1c } };
		return clsid;
	}
	virtual BOOL Create(LPCTSTR lpszClassName,
		LPCTSTR lpszWindowName, DWORD dwStyle,
		const RECT& rect,
		CWnd* pParentWnd, UINT nID,
		CCreateContext* pContext = NULL)
	{ return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID); }

    BOOL Create(LPCTSTR lpszWindowName, DWORD dwStyle,
		const RECT& rect, CWnd* pParentWnd, UINT nID,
		CFile* pPersist = NULL, BOOL bStorage = FALSE,
		BSTR bstrLicKey = NULL)
	{ return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID,
		pPersist, bStorage, bstrLicKey); }

// Attributes
public:

// Operations
public:
	long GetHWnd();
	void SetBackColor(unsigned long newValue);
	unsigned long GetBackColor();
	void SetMousePointer(long nNewValue);
	long GetMousePointer();
	void SetRefMouseIcon(LPDISPATCH newValue);
	CPicture GetMouseIcon();
	void SetBorderStyle(long nNewValue);
	long GetBorderStyle();
	void SetEnabled(BOOL bNewValue);
	BOOL GetEnabled();
	void SetAppearance(long nNewValue);
	long GetAppearance();
	void AboutBox();
	void SetRefMap(LPUNKNOWN newValue);
	LPUNKNOWN GetMap();
	LPUNKNOWN GetActiveView();
	long GetLayerCount();
	LPUNKNOWN GetLayer(long index);
	LPUNKNOWN GetExtent();
	void SetExtent(LPUNKNOWN newValue);
	LPUNKNOWN GetFullExtent();
	void SetFullExtent(LPUNKNOWN newValue);
	BOOL GetShowScrollbars();
	void SetShowScrollbars(BOOL bNewValue);
	void SetVisibleRegion(LPUNKNOWN newValue);
	LPUNKNOWN GetSpatialReference();
	void SetRefSpatialReference(LPUNKNOWN newValue);
	double GetReferenceScale();
	void SetReferenceScale(double newValue);
	double GetMapScale();
	void SetMapScale(double newValue);
	LPUNKNOWN GetCurrentTool();
	void SetRefCurrentTool(LPUNKNOWN newValue);
	void AddLayer(LPUNKNOWN Layer, long toIndex);
	void AddLayerFromFile(LPCTSTR lyrPath, long toIndex);
	void ClearLayers();
	void DeleteLayer(long index);
	void MoveLayerTo(long fromIndex, long toIndex);
	void LoadMxFile(LPCTSTR mxPath, const VARIANT& mapNameOrIndex, const VARIANT& password);
	void Refresh(long phase, const VARIANT& layerOrElement, const VARIANT& envelope);
	void Pan();
	void CenterAt(LPUNKNOWN centerPoint);
	LPUNKNOWN TrackRectangle();
	LPUNKNOWN TrackPolygon();
	LPUNKNOWN TrackLine();
	LPUNKNOWN TrackCircle();
	void DrawShape(LPUNKNOWN Shape, VARIANT* symbol);
	void FlashShape(LPUNKNOWN pShape, long nFlashes, long flashInterval, const VARIANT& symbol);
	void FromMapPoint(LPUNKNOWN pt, long* X, long* Y);
	LPUNKNOWN ToMapPoint(long X, long Y);
	void AddShapeFile(LPCTSTR Path, LPCTSTR fileName);
	void DrawText(LPUNKNOWN pGeometry, LPCTSTR text, VARIANT* pSymbol);
	BOOL CheckMxFile(LPCTSTR fileName);
	LPUNKNOWN ReadMxMaps(LPCTSTR fileName, const VARIANT& password);
	void SetOleDropEnabled(BOOL bNewValue);
	BOOL GetOleDropEnabled();
	void SetRotation(double newValue);
	double GetRotation();
	long GetMapUnits();
	void SetMapUnits(long nNewValue);
	LPUNKNOWN GetTrackCancel();
	void SetRefTrackCancel(LPUNKNOWN newValue);
	VARIANT GetCustomProperty();
	void SetCustomProperty(const VARIANT& newValue);
	void SuppressResizeDrawing(BOOL suppressResize, long resizeHWnd);
	CString GetDocumentFilename();
	void SetDocumentFilename(LPCTSTR lpszNewValue);
	CString GetDocumentMap();
	void SetDocumentMap(LPCTSTR lpszNewValue);
	LPDISPATCH GetObject();
	void SetShowMapTips(BOOL bNewValue);
	BOOL GetShowMapTips();
	void SetTipStyle(long nNewValue);
	long GetTipStyle();
	void SetTipDelay(long nNewValue);
	long GetTipDelay();
	long GetKeyIntercept();
	void SetKeyIntercept(long nNewValue);
	BOOL GetAutoMouseWheel();
	void SetAutoMouseWheel(BOOL bNewValue);
	BOOL GetAutoKeyboardScrolling();
	void SetAutoKeyboardScrolling(BOOL bNewValue);
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_MAPCONTROLDEFAULT_H__3B377BBA_9BF7_4F17_AE28_4D42FD8B940F__INCLUDED_)

⌨️ 快捷键说明

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