⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pdf.h

📁 用VC++开发的基于ActiveX控件的PDF文档阅读器。
💻 H
字号:
#if !defined(AFX_PDF_H__87AEF2F2_DC36_4A8B_AC8B_C02DF6CBF83A__INCLUDED_)
#define AFX_PDF_H__87AEF2F2_DC36_4A8B_AC8B_C02DF6CBF83A__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.

/////////////////////////////////////////////////////////////////////////////
// CPdf wrapper class

class CPdf : public CWnd
{
protected:
	DECLARE_DYNCREATE(CPdf)
public:
	CLSID const& GetClsid()
	{
		static CLSID const clsid
			= { 0xca8a9780, 0x280d, 0x11cf, { 0xa2, 0x4d, 0x44, 0x45, 0x53, 0x54, 0x0, 0x0 } };
		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);

// Operations
public:
	BOOL LoadFile(LPCTSTR fileName);
	void setShowToolbar(BOOL On);
	void gotoFirstPage();
	void gotoLastPage();
	void gotoNextPage();
	void gotoPreviousPage();
	void setCurrentPage(long n);
	void goForwardStack();
	void goBackwardStack();
	void setPageMode(LPCTSTR pageMode);
	void setLayoutMode(LPCTSTR layoutMode);
	void setNamedDest(LPCTSTR namedDest);
	void Print();
	void printWithDialog();
	void setZoom(float percent);
	void setZoomScroll(float percent, float left, float top);
	void setView(LPCTSTR viewMode);
	void setViewScroll(LPCTSTR viewMode, float offset);
	void setViewRect(float left, float top, float width, float height);
	void printPages(long from, long to);
	void printPagesFit(long from, long to, BOOL shrinkToFit);
	void printAll();
	void printAllFit(BOOL shrinkToFit);
	void setShowScrollbars(BOOL On);
	void AboutBox();
};

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

#endif // !defined(AFX_PDF_H__87AEF2F2_DC36_4A8B_AC8B_C02DF6CBF83A__INCLUDED_)

⌨️ 快捷键说明

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