solytelement.h

来自「用VC+SuperMap开发的校园GIS系统」· C头文件 代码 · 共 53 行

H
53
字号
#if !defined(AFX_SOLYTELEMENT_H__A856D57D_6730_4F8D_83A3_5506745101B9__INCLUDED_)
#define AFX_SOLYTELEMENT_H__A856D57D_6730_4F8D_83A3_5506745101B9__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 CsoRect;
class CsoStyle;

/////////////////////////////////////////////////////////////////////////////
// CsoLytElement wrapper class

class CsoLytElement : public COleDispatchDriver
{
public:
	CsoLytElement() {}		// Calls COleDispatchDriver default constructor
	CsoLytElement(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
	CsoLytElement(const CsoLytElement& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}

// Attributes
public:
	long GetType();
	void SetType(long);
	CsoRect GetBounds();
	void SetBounds(LPDISPATCH);
	CsoStyle GetStyle();
	void SetStyle(LPDISPATCH);
	BOOL GetEditable();
	void SetEditable(BOOL);
	CString GetTag();
	void SetTag(LPCTSTR);

// Operations
public:
	void SetPosition(LPDISPATCH newpostion);
	void Move(long xOffset, long yOffset);
	void AlignToGrid();
	BOOL HitTest(long x, long y);
	void ShowPropertyDlg();
};

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

#endif // !defined(AFX_SOLYTELEMENT_H__A856D57D_6730_4F8D_83A3_5506745101B9__INCLUDED_)

⌨️ 快捷键说明

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