sofillstylelib.h

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

H
62
字号
#if !defined(AFX_SOFILLSTYLELIB_H__5F3AABE3_7772_4279_852D_3AC8B57849D9__INCLUDED_)
#define AFX_SOFILLSTYLELIB_H__5F3AABE3_7772_4279_852D_3AC8B57849D9__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 CsoStyleGroup;

/////////////////////////////////////////////////////////////////////////////
// CsoFillStyleLib wrapper class

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

// Attributes
public:
	long GetMaxID();
	void SetMaxID(long);
	long GetStyleItemCount();
	void SetStyleItemCount(long);
	CsoStyleGroup GetRootGroup();
	void SetRootGroup(LPDISPATCH);

// Operations
public:
	BOOL Import(LPCTSTR strFileName, BOOL OverWrite);
	BOOL Export(LPCTSTR strFileName);
	BOOL RemoveAll();
	long GetStyleItemID(long nIndex);
	void SetStyleItemID(long nIndex, long nNewValue);
	CString GetStyleItemName(long nIndex);
	void SetStyleItemName(long nIndex, LPCTSTR lpszNewValue);
	void ShowEditor();
	long ShowPicker(LPDISPATCH objStyle);
	BOOL AddFillStyle(LPCTSTR strFileName, long nImageFileType, long nID, LPCTSTR strFillStyleName, LPDISPATCH objStyleGroup, long FillStyleResolution);
	BOOL PolyPolygon(long hdc, LPDISPATCH objStyle, LPDISPATCH objRegion);
	BOOL Draw(long hdc, LPDISPATCH objStyle, long nPointCount, long* Points);
	BOOL DrawEx(long hdc, LPDISPATCH objStyle, long nCount, long* PolyCounts, long* Points);
	long Find(LPCTSTR strKey, long nStart);
	long ReverseFind(LPCTSTR strKey, long nStart);
	long FindID(long nID);
	long FindIndex(long nIndex);
	BOOL Remove(long nID);
	BOOL RemoveAt(long nIndex, const VARIANT& nCount);
};

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

#endif // !defined(AFX_SOFILLSTYLELIB_H__5F3AABE3_7772_4279_852D_3AC8B57849D9__INCLUDED_)

⌨️ 快捷键说明

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