📄 mapx.h
字号:
// Attributes
public:
CString GetCaption();
void SetCaption(LPCTSTR);
double GetX();
void SetX(double);
double GetY();
void SetY(double);
short GetPosition();
void SetPosition(short);
CMapXStyle GetStyle();
void SetStyle(LPDISPATCH);
// Operations
public:
};
/////////////////////////////////////////////////////////////////////////////
// CMapXLegendText wrapper class
class CMapXLegendText : public COleDispatchDriver
{
public:
CMapXLegendText() {} // Calls COleDispatchDriver default constructor
CMapXLegendText(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
CMapXLegendText(const CMapXLegendText& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
// Attributes
public:
CString GetText();
void SetText(LPCTSTR);
BOOL GetVisible();
void SetVisible(BOOL bNewValue);
// Operations
public:
};
/////////////////////////////////////////////////////////////////////////////
// CMapXLegendTexts wrapper class
class CMapXLegendTexts : public COleDispatchDriver
{
public:
CMapXLegendTexts() {} // Calls COleDispatchDriver default constructor
CMapXLegendTexts(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
CMapXLegendTexts(const CMapXLegendTexts& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
CMapXLegendText operator[](long Index) { return Item(Index); }
// Attributes
public:
BOOL GetAutoGenerate();
void SetAutoGenerate(BOOL);
long GetCount();
CMapXLegendText GetAllOthersText();
// Operations
public:
CMapXLegendText Item(const VARIANT& Index);
CMapXLegendText Item(long Index) { return Item(COleVariant(Index)); }
};
/////////////////////////////////////////////////////////////////////////////
// CMapXTitle wrapper class
class CMapXTitle : public COleDispatchDriver
{
public:
CMapXTitle() {} // Calls COleDispatchDriver default constructor
CMapXTitle(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
CMapXTitle(const CMapXTitle& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
// Attributes
public:
CString GetCaption();
void SetCaption(LPCTSTR);
CMapXStyle GetTextStyle();
void SetTextStyle(LPDISPATCH);
BOOL GetVisible();
void SetVisible(BOOL);
double GetX();
void SetX(double);
double GetY();
void SetY(double);
BOOL GetEditable();
void SetEditable(BOOL);
short GetPosition();
void SetPosition(short);
BOOL GetBorder();
void SetBorder(BOOL);
// Operations
public:
};
/////////////////////////////////////////////////////////////////////////////
// CMapXBindLayer wrapper class
class CMapXBindLayer : public COleDispatchDriver
{
public:
CMapXBindLayer() {} // Calls COleDispatchDriver default constructor
CMapXBindLayer(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
CMapXBindLayer(const CMapXBindLayer& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
CLSID const& GetClsid()
{
static CLSID clsid =
{ 0x9d6ed182, 0x5910, 0x11d2, { 0x98, 0xa6, 0x0, 0xa0, 0xc9, 0x74, 0x2c, 0xca} };
return clsid;
}
// Attributes
public:
CString GetLayerName();
void SetLayerName(LPCTSTR);
VARIANT GetRefColumn1();
void SetRefColumn1(const VARIANT&);
void SetRefColumn1(long Column) { SetRefColumn1(COleVariant(Column)); }
void SetRefColumn1(LPCTSTR Column) { SetRefColumn1(COleVariant(Column)); }
VARIANT GetRefColumn2();
void SetRefColumn2(const VARIANT&);
void SetRefColumn2(long Column) { SetRefColumn2(COleVariant(Column)); }
void SetRefColumn2(LPCTSTR Column) { SetRefColumn2(COleVariant(Column)); }
short GetLayerType();
void SetLayerType(short);
CString GetReferenceLayer();
void SetReferenceLayer(LPCTSTR);
CMapXCoordSys GetCoordSys();
void SetCoordSys(LPDISPATCH);
CString GetFilespec();
void SetFilespec(LPCTSTR);
short GetKeyLength();
void SetKeyLength(short);
// Operations
public:
};
/////////////////////////////////////////////////////////////////////////////
// CMapXMultivarCategories wrapper class
class CMapXMultivarCategories : public COleDispatchDriver
{
public:
CMapXMultivarCategories() {} // Calls COleDispatchDriver default constructor
CMapXMultivarCategories(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
CMapXMultivarCategories(const CMapXMultivarCategories& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
CMapXMultivarCategory operator[](long Index) { return Item(Index); }
// Attributes
public:
long GetCount();
// Operations
public:
CMapXMultivarCategory Item(const VARIANT& Index);
CMapXMultivarCategory Item(long Index) { return Item(COleVariant(Index)); }
};
/////////////////////////////////////////////////////////////////////////////
// CMapXRangeCategories wrapper class
class CMapXRangeCategories : public COleDispatchDriver
{
public:
CMapXRangeCategories() {} // Calls COleDispatchDriver default constructor
CMapXRangeCategories(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
CMapXRangeCategories(const CMapXRangeCategories& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
CMapXRangeCategory operator[](long Index) { return Item(Index); }
// Attributes
public:
long GetCount();
CMapXRangeCategory GetAllOthersCategory();
// Operations
public:
CMapXRangeCategory Item(const VARIANT& Index);
CMapXRangeCategory Item(long Index) { return Item(COleVariant(Index)); }
};
/////////////////////////////////////////////////////////////////////////////
// CMapXIndividualValueCategories wrapper class
class CMapXIndividualValueCategories : public COleDispatchDriver
{
public:
CMapXIndividualValueCategories () {} // Calls COleDispatchDriver default constructor
CMapXIndividualValueCategories (LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
CMapXIndividualValueCategories (const CMapXIndividualValueCategories & dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
CMapXIndividualValueCategory operator[](long Index) { return Item(Index); }
// Attributes
public:
long GetCount();
CMapXIndividualValueCategory GetAllOthersCategory();
// Operations
public:
CMapXIndividualValueCategory Item(const VARIANT& Index);
CMapXIndividualValueCategory Item(long Index) { return Item(COleVariant(Index)); }
};
// CMapXRectangle wrapper class
class CMapXRectangle : public COleDispatchDriver
{
public:
CMapXRectangle() {} // Calls COleDispatchDriver default constructor
CMapXRectangle(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
CMapXRectangle(const CMapXRectangle& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
CLSID const& GetClsid()
{
static CLSID clsid =
{ 0x9d6ed191, 0x5910, 0x11d2, { 0x98, 0xa6, 0x0, 0xa0, 0xc9, 0x74, 0x2c, 0xca } };
return clsid;
}
// Attributes
public:
double GetXMin();
double GetYMin();
double GetXMax();
double GetYMax();
double GetHeight();
double GetWidth();
// Operations
public:
void Set(double X1, double Y1, double X2, double Y2);
void Offset(double deltaX, double deltaY);
};
/////////////////////////////////////////////////////////////////////////////
// CMapXLayerFind wrapper class
class CMapXLayerFind : public COleDispatchDriver
{
public:
CMapXLayerFind() {} // Calls COleDispatchDriver default constructor
CMapXLayerFind(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
CMapXLayerFind(const CMapXLayerFind& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
// Attributes
public:
CMapXLayer GetRefineLayer();
void SetRefineLayer(CMapXLayer);
BOOL GetAbbreviations();
void SetAbbreviations(BOOL);
BOOL GetClosestAddr();
void SetClosestAddr(BOOL);
BOOL GetOtherBoundary();
void SetOtherBoundary(BOOL);
CMapXField GetFindField();
void SetFindField(CMapXField);
CMapXField GetRefineField();
void SetRefineField(CMapXField);
CMapXDataset GetFindDataset();
void SetFindDataset(CMapXDataset);
CMapXDataset GetRefineDataset();
void SetRefineDataset(CMapXDataset);
// Operations
public:
CMapXFindFeature Search(LPCTSTR Address, LPCTSTR Boundary);
CMapXFindResult SearchEx(LPCTSTR Address, LPCTSTR Boundary);
};
/////////////////////////////////////////////////////////////////////////////
// CMapXFindFeature wrapper class
class CMapXFindFeature : public COleDispatchDriver
{
public:
CMapXFindFeature() {} // Calls COleDispatchDriver default constructor
CMapXFindFeature(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
CMapXFindFeature(const CMapXFindFeature& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
// Attributes
public:
short GetFindRC();
long GetFeatureID();
short GetType();
void SetType(short);
double GetLength();
double GetCenterX();
double GetCenterY();
CMapXStyle GetStyle();
void SetStyle(LPDISPATCH);
CMapXRectangle GetBounds();
CMapXParts GetParts();
double GetArea();
CMapXLayer GetLayer();
CString GetCaption();
void SetCaption(LPCTSTR);
CMapXPoint GetPoint();
void SetPoint(LPDISPATCH);
CMapXPoint GetLabelPoint();
double GetPerimeter();
BOOL GetSmooth();
void SetSmooth(BOOL);
CString GetName();
CString GetKeyValue();
void SetKeyValue(LPCTSTR);
// Operations
public:
void Update();
void Offset(double deltaX, double deltaY);
};
/////////////////////////////////////////////////////////////////////////////
// CMapXFindResult wrapper class
class CMapXFindResult : public COleDispatchDriver
{
public:
CMapXFindResult() {} // Calls COleDispatchDriver default constructor
CMapXFindResult(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
CMapXFindResult(const CMapXFindResult& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
// Attributes
public:
BOOL GetExactMatch();
BOOL GetSubstitute();
BOOL GetAddressOutOfRange();
BOOL GetIntersectionNotFound();
BOOL GetMultipleMatches();
BOOL GetRefineRegion();
short GetFindRC();
CMapXFindMatches GetMatches();
CMapXFeature GetMatchedFeature();
};
/////////////////////////////////////////////////////////////////////////////
// CMapXFindMatches wrapper class
class CMapXFindMatch : public COleDispatchDriver
{
public:
CMapXFindMatch() {} // Calls COleDispatchDriver default constructor
CMapXFindMatch(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
CMapXFindMatch(const CMapXFindMatch& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
// Attributes
public:
long GetFeatureID();
CString GetName();
long GetScore();
};
/////////////////////////////////////////////////////////////////////////////
// CMapXFindMatches wrapper class
class CMapXFindMatches : public COleDispatchDriver
{
public:
CMapXFindMatches() {} // Calls COleDispatchDriver default constructor
CMapXFindMatches(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
CMapXFindMatches(const CMapXFindMatches& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
CMapXFindMatch operator[](long Index) { return Item(Index); }
// Attributes
public:
long GetCount();
// Operations
public:
CMapXFindMatch Item(const VARIANT& Index);
CMapXFindMatch Item(long Index) { return Item(COleVariant(Index)); }
};
/////////////////////////////////////////////////////////////////////////////
// CMapXGeoset wrapper class
class CMapXGeoset : public COleDispatchDriver
{
public:
CMapXGeoset() {} // Calls COleDispatchDriver default constructor
CMapXGeoset(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
CMapXGeoset(const CMapXGeoset& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
// Attributes
public:
CMapXPoint GetCentroid();
CString GetPathName();
CString GetUserName();
// Operations
public:
};
/////////////////////////////////////////////////////////////////////////////
// CMapXGeosets wrapper class
class CMapXGeosets : public COleDispatchDriver
{
public:
CMapXGeosets() {} // Calls COleDispatchDriver default constructor
CMapXGeosets(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
CMapXGeosets(const CMapXGeosets& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
CMapXGeoset operator[](long Index) { return Item(Index); }
CMapXGeoset operator[](LPCTSTR Index) { return Item(Index); }
// Attributes
public:
long GetCount();
// Operations
public:
CMapXGeoset Item(const VARIANT& Index);
CMapXGeoset Item(long Index) { return Item(COleVariant(Index)); }
CMapXGeoset Item(LPCTSTR Index) { return Item(COleVariant(Index)); }
};
/////////////////////////////////////////////////////////////////////////////
// CMapXPoint wrapper class
class CMapXPoint : public COleDispatchDriver
{
public:
CMapXPoint() {} // Calls COleDispatchDriver default constructor
CMapXPoint(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
CMapXPoint(const CMapXPoint& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
CLSID const& GetClsid()
{
static CLSID clsid =
{ 0x9d6ed18b, 0x5910, 0x11d
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -