www.pudn.com > 在控件的客户区中使用textout.rar > avmarkupx.h


#if !defined(AFX_AVMARKUPX_H__1CC7CE29_27B3_4850_B706_169154E489DE__INCLUDED_) 
#define AFX_AVMARKUPX_H__1CC7CE29_27B3_4850_B706_169154E489DE__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. 
 
///////////////////////////////////////////////////////////////////////////// 
// CAvMarkupX wrapper class 
 
class CAvMarkupX : public CWnd 
{ 
protected: 
	DECLARE_DYNCREATE(CAvMarkupX) 
public: 
	CLSID const& GetClsid() 
	{ 
		static CLSID const clsid 
			= { 0x13c188ba, 0x4bdf, 0x11d2, { 0xaa, 0xaf, 0x0, 0xe0, 0x29, 0x9, 0xa4, 0x5c } }; 
		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: 
	long GetEntityColor(); 
	void SetEntityColor(long); 
	long GetPenStyle(); 
	void SetPenStyle(long); 
	long GetLineWidth(); 
	void SetLineWidth(long); 
 
// Operations 
public: 
	void TestMarkup(LPCTSTR szFileName); 
	BOOL Open(); 
	BOOL EnterMarkupMode(long hVcetControl); 
	long NotifyProc(long msg, long wParam, long lParam); 
	void Save(); 
	void SaveAs(); 
	void DrawLine(); 
	void DrawPolyline(); 
	void DrawArc(); 
	void DrawBox(); 
	void DrawCircle(); 
	void DrawFilledBox(); 
	void DrawFilledCircle(); 
	void DrawFilledPolygon(); 
	void DrawLeader(); 
	void DrawFreeStyle(); 
	void DrawCloud(); 
	void DrawText(); 
	void DrawHighlight(); 
	void DrawNote(); 
	void DrawSymbol(); 
	void DrawOle(); 
	BOOL IsCurrentEntity(long nEntId, long nSubType, long nFillType); 
	void ModifyLayers(); 
	void ModifyFont(); 
	void Undo(); 
	void Redo(); 
	BOOL IsUndoAvailable(); 
	BOOL IsRedoAvailable(); 
	BOOL ExitMarkupMode(); 
	long GetControlHandle(); 
	void MeasureDistance(); 
	void MeasureCumDistance(); 
	void MeasureArea(); 
	void Calibrate(); 
	void ZoomFit(); 
	void Rotate(short nDegrees); 
	void Flip(short nFlag); 
	BOOL ResetAction(); 
	void ShowInfo(); 
	void CreateNew(); 
	CString GetMrkFileLocation(); 
	void SetMrkFileLocation(LPCTSTR sLocation); 
	long GetActiveMarkup(); 
	void SetActiveMarkup(long nIndex); 
	BOOL OpenMarkup(LPCTSTR sFileName, BOOL bCloseAll); 
	long GetNumMarkups(); 
	CString GetMarkupName(long nIndex); 
	void SetFgBgColor(BOOL fBackgroundColor, long color); 
	void DeleteSelEntities(); 
	BOOL CopyToClipboard(); 
	BOOL PasteFromClipboard(); 
	void RenderOntoDC(long Options); 
	long GetFillStyle(); 
	void SetFillStyle(long nNewValue); 
	void OnMarkupConsolidate(); 
	void OnModifyMarkupOnoff(); 
	long GetCtlSnapType(); 
	void SetCtlSnapType(long dwSnapType); 
	short GetAction(); 
	void SetAction(short nAction); 
	void Draw3DVertexCoord(); 
	void Draw3DDistance(); 
	void Draw3DArc(); 
	void Draw3DAngle(); 
	void EditText(); 
	void EditNote(); 
	void EditDimension(); 
	void HideDimensions(); 
	void DeleteDimensions(); 
	BOOL IsThisEntityAvailable(short nEntityID); 
	long GetSelCount(); 
	BOOL IsThisEntityTypeAvailable(short nEntityType); 
	BOOL IsThisEntitySelected(short nEntityType); 
	BOOL IsThisEntityTypeHidden(short nEntityType); 
	long GetEntityPageIndex(long handle); 
	BOOL GetEntityBoundingBox(long handle, long bbox); 
	BOOL IsEntityEditable(long handle); 
	void EditEntity(long handle); 
	short GetEntityLineStyle(long handle); 
	short GetEntityLineWidth(long handle); 
	BOOL Is3DMarkupMode(); 
	long GetEntityRedlineIndex(long handle); 
	long GetEntityViewStateID(long handle); 
	BOOL IsGroupAvailable(); 
	BOOL IsUngroupAvailable(); 
	void Group(); 
	void Ungroup(); 
	void AboutBox(); 
}; 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_AVMARKUPX_H__1CC7CE29_27B3_4850_B706_169154E489DE__INCLUDED_)