📄 cmapxlayer.h
字号:
#if !defined(AFX_CMAPXLAYER_H__C1B98919_4F9E_4E36_AA1E_CD005834118E__INCLUDED_)
#define AFX_CMAPXLAYER_H__C1B98919_4F9E_4E36_AA1E_CD005834118E__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 CCMapXLabelProperties;
class CCMapXStyle;
class CCMapXSelection;
class CCMapXLayerFind;
class CCMapXCoordSys;
class CCMapXRectangle;
class CCMapXDatasets;
class CCMapXFeature;
class CCMapXFeatures;
/////////////////////////////////////////////////////////////////////////////
// CCMapXLayer wrapper class
class CCMapXLayer : public COleDispatchDriver
{
public:
CCMapXLayer() {} // Calls COleDispatchDriver default constructor
CCMapXLayer(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
CCMapXLayer(const CCMapXLayer& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
// Attributes
public:
CString GetName();
void SetName(LPCTSTR);
BOOL GetVisible();
void SetVisible(BOOL);
BOOL GetSelectable();
void SetSelectable(BOOL);
CString GetFilespec();
CCMapXLabelProperties GetLabelProperties();
BOOL GetAutoLabel();
void SetAutoLabel(BOOL);
BOOL GetZoomLayer();
void SetZoomLayer(BOOL);
BOOL GetOverrideStyle();
void SetOverrideStyle(BOOL);
CCMapXStyle GetStyle();
void SetStyle(LPDISPATCH);
double GetZoomMin();
void SetZoomMin(double);
double GetZoomMax();
void SetZoomMax(double);
CCMapXSelection GetSelection();
short GetPredominantFeatureType();
CCMapXLayerFind GetFind();
short GetType();
CString GetKeyField();
void SetKeyField(LPCTSTR);
CCMapXCoordSys GetCoordSys();
CCMapXRectangle GetBounds();
BOOL GetDrawLabelsAfter();
void SetDrawLabelsAfter(BOOL);
CCMapXDatasets GetDatasets();
BOOL GetShowNodes();
void SetShowNodes(BOOL);
BOOL GetShowCentroids();
void SetShowCentroids(BOOL);
BOOL GetShowLineDirection();
void SetShowLineDirection(BOOL);
BOOL GetEditable();
void SetEditable(BOOL);
// Operations
public:
void LabelAtPoint(double X, double Y);
void ClearCustomLabels();
void UpdateFeature(const VARIANT& Target, const VARIANT& Source, const VARIANT& RowValues);
CCMapXFeature AddFeature(LPDISPATCH SourceFeature, const VARIANT& RowValues);
void DeleteFeature(const VARIANT& Target);
void Invalidate(const VARIANT& InvalidRect);
CCMapXFeatures SearchWithinDistance(LPDISPATCH Source, double Distance, short Units, short SearchType);
CCMapXFeatures SearchWithinRectangle(LPDISPATCH Rectangle, short SearchType);
CCMapXFeatures AllFeatures();
CCMapXFeatures NoFeatures();
CCMapXFeatures SearchWithinFeature(LPDISPATCH Feature, short SearchType);
CCMapXFeatures SearchAtPoint(LPDISPATCH Point);
void DrillDownRemoveFeatures(LPCTSTR Level, const VARIANT& FeatureKeys);
void DrillDownAddFeatures(LPCTSTR Level, const VARIANT& FeatureKeys);
CCMapXFeatures GetDrilldownFeaturesByID(LPCTSTR strLevel, const VARIANT& FeatureID);
void DrilldownReset(LPCTSTR strLevel);
CCMapXFeature GetFeatureByID(long FeatureID);
void Refresh();
long FeatureIDFromFeatureName(LPCTSTR strKeyValue);
CCMapXFeatures Search(LPCTSTR strWhere, const VARIANT& Variables);
void BeginAccess(long BeginAccessType);
void EndAccess(const VARIANT& EndAccessType);
CCMapXFeature GetFeatureByKey(LPCTSTR FeatureKey);
CString FeatureKeyFromFeatureName(LPCTSTR strKeyValue);
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_CMAPXLAYER_H__C1B98919_4F9E_4E36_AA1E_CD005834118E__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -