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

📄 printer.h

📁 这是本人两年前兼职为某个公司做的石油钻进设计软件
💻 H
字号:
#if !defined(AFX_PRINTER_H__89096B35_5454_4ED3_8736_CEF6A3A77E73__INCLUDED_)
#define AFX_PRINTER_H__89096B35_5454_4ED3_8736_CEF6A3A77E73__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.

/////////////////////////////////////////////////////////////////////////////
// CPrinter wrapper class

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

// Attributes
public:

// Operations
public:
	long GetDetail();
	void SetDetail(long nNewValue);
	long GetMarginBottom();
	void SetMarginBottom(long nNewValue);
	long GetMarginLeft();
	void SetMarginLeft(long nNewValue);
	long GetMarginTop();
	void SetMarginTop(long nNewValue);
	long GetMarginRight();
	void SetMarginRight(long nNewValue);
	long GetOrientation();
	void SetOrientation(long nNewValue);
	void Print();
	void PrintLandscape();
	void PrintPortrait();
	void ShowPreview();
	void PrintPartial(long Left, long Top, long Right, long Bottom);
	void BeginDoc();
	void EndDoc();
	long GetPrinterIndex();
	void SetPrinterIndex(long nNewValue);
	long GetPrinterCount();
	CString GetPrinterDescription(long Index);
	void PrintChart();
	long GetPageHeight();
	long GetPageWidth();
	CString GetJobTitle();
	void SetJobTitle(LPCTSTR lpszNewValue);
	BOOL GetPrintProportional();
	void SetPrintProportional(BOOL bNewValue);
	void PrintPartialHandle(const VARIANT& DC, long Left, long Top, long Right, long Bottom);
};

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

#endif // !defined(AFX_PRINTER_H__89096B35_5454_4ED3_8736_CEF6A3A77E73__INCLUDED_)

⌨️ 快捷键说明

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