www.pudn.com > 在控件的客户区中使用textout.rar > autovuex.h
#if !defined(AFX_AUTOVUEX_H__4AAD391C_8181_47FD_8E79_809AA43F6B52__INCLUDED_)
#define AFX_AUTOVUEX_H__4AAD391C_8181_47FD_8E79_809AA43F6B52__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.
/////////////////////////////////////////////////////////////////////////////
// CAutoVueX wrapper class
class CAutoVueX : public CWnd
{
protected:
DECLARE_DYNCREATE(CAutoVueX)
public:
CLSID const& GetClsid()
{
static CLSID const clsid
= { 0xb6fcc215, 0xd303, 0x11d1, { 0xbc, 0x6c, 0x0, 0x0, 0xc0, 0x78, 0x79, 0x7f } };
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:
CString GetSrc();
void SetSrc(LPCTSTR);
BOOL GetShowScrollBars();
void SetShowScrollBars(BOOL);
BOOL GetShowMainToolBar();
void SetShowMainToolBar(BOOL);
BOOL GetShowAuxiToolBar();
void SetShowAuxiToolBar(BOOL);
BOOL GetShowStatusBar();
void SetShowStatusBar(BOOL);
BOOL GetEnablePopupMenu();
void SetEnablePopupMenu(BOOL);
BOOL GetMrkMainToolbar();
void SetMrkMainToolbar(BOOL);
BOOL GetMrkPensToolbar();
void SetMrkPensToolbar(BOOL);
BOOL GetMrkEntitiesToolbar();
void SetMrkEntitiesToolbar(BOOL);
BOOL GetMrkColorsToolbar();
void SetMrkColorsToolbar(BOOL);
CString GetMrkFileLocation();
void SetMrkFileLocation(LPCTSTR);
unsigned long GetBgColor();
void SetBgColor(unsigned long);
short GetRotate();
void SetRotate(short);
short GetFlip();
void SetFlip(short);
short GetPage();
void SetPage(short);
short GetExtents();
void SetExtents(short);
double GetExtMinX();
void SetExtMinX(double);
double GetExtMinY();
void SetExtMinY(double);
double GetExtMaxX();
void SetExtMaxX(double);
double GetExtMaxY();
void SetExtMaxY(double);
// Operations
public:
void ZoomFit();
void ZoomPrevious();
void ZoomWidth();
void ZoomHeight();
void ZoomByFactor(double factor);
void ZoomFullResolution();
void PrintIt(BOOL bPrintDirect);
void PrintPreview(BOOL bPreviewDirect, BOOL bWantFrame);
long GetVcetHandle();
BOOL EnterMarkupMode();
BOOL ExitMarkupMode();
LPDISPATCH MrkObj();
LPDISPATCH PrnObj();
short GetMode();
void PageNext();
void PagePrevious();
void PageSelect();
BOOL GetMousePos(double* pPosX, double* pPosY);
long MrkWnd();
long PrnWnd();
BOOL CanClose();
long GetContrast();
long SetContrast(long contrastValue);
long GetAntiAlias();
long SetAntiAlias(long antialiasValue);
long ShowLayersDlg();
long ShowBlocksDlg();
long ShowNamedViewsDlg();
long ShowXREFDlg();
BOOL EnableMarkup(BOOL fShow);
BOOL SetMarkupMode(LPCTSTR sMarkup);
void SetPrintOptions(LPCTSTR sEntry, LPCTSTR sValue);
BOOL SetLicenseFilePath(LPCTSTR sLicPath);
void ZoomInWorld(double MinX, double MinY, double MaxX, double MaxY);
void EnablePanMode(BOOL bEnable);
long GetNumCrossProbeEntities();
CString GetCrossProbeEntityType(long nIndex);
CString GetCrossProbeEntityName(long nIndex);
void ClearCrossProbeEntities();
void AddCrossProbeEntity(LPCTSTR sType, LPCTSTR sName);
void ZoomSelected();
void ShowNetConnectivity();
long GetNumEcadEntities(LPCTSTR sType);
CString GetEcadEntityName(LPCTSTR sType, long lIndex);
long GetEcadEntityNAttr(LPCTSTR sType, long lIndex);
CString GetEcadEntityAttrName(LPCTSTR sType, long lIndex, long j);
CString GetEcadEntityAttrValue(LPCTSTR sType, long lIndex, long j);
long GetNumEcadEntityDefs();
CString GetEcadEntityDefName(long lIndex);
long GetEcadEntityDefFlags(long lIndex);
long GetEcadEntityDefNAttr(long lIndex);
CString GetEcadEntityDefAttrName(long lIndex, long lAttr);
long GetEcadEntityDefAttrFlags(long lIndex, long lAttr);
long GetEcadEntityDefAttrType(long lIndex, long lAttr);
long ShowEntityTypeFilterDlg();
long ShowVerifyDesignDlg();
long ShowEntityBrowserDlg();
long ShowBillOfMaterialDlg();
long ShowEntityPropertiesDlg();
long ShowFileVersionInfoDlg();
void SetPageByTitle(LPCTSTR sTitle);
void SetNamedView(long lIndex);
void SetNamedViewByName(LPCTSTR sName);
long ShowImportDesignDlg();
void EnableZoomBoxMode(BOOL bEnable);
void EnableRotateMode(BOOL bEnable);
long ReCenter(short nType);
long ShowPMIFilteringDlg();
long ShowLightingDlg();
long ShowDefineSectionDlg();
long ShowUserCoordSystemsDlg();
void EnableManipulators(BOOL bEnable);
long ShowPartAlignmentDlg();
long ShowModelTransformDlg();
void ResetTransformation();
long ShowInterferenceCheckDlg();
void AboutBox();
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_AUTOVUEX_H__4AAD391C_8181_47FD_8E79_809AA43F6B52__INCLUDED_)