?? printersettings.h
字號:
#if !defined(AFX_PRINTERSETTINGS_H__B93D2DBE_798E_41B9_9899_B7579661A4B0__INCLUDED_)
#define AFX_PRINTERSETTINGS_H__B93D2DBE_798E_41B9_9899_B7579661A4B0__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.
/////////////////////////////////////////////////////////////////////////////
// CPrinterSettings wrapper class
class CPrinterSettings : public COleDispatchDriver
{
public:
CPrinterSettings() {} // Calls COleDispatchDriver default constructor
CPrinterSettings(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
CPrinterSettings(const CPrinterSettings& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
// Attributes
public:
// Operations
public:
short GetOrientation();
void SetOrientation(short nNewValue);
short GetPaperSize();
void SetPaperSize(short nNewValue);
short GetPaperLength();
void SetPaperLength(short nNewValue);
short GetPaperWidth();
void SetPaperWidth(short nNewValue);
short GetCopies();
void SetCopies(short nNewValue);
short GetPrintQuality();
void SetPrintQuality(short nNewValue);
short GetColor();
void SetColor(short nNewValue);
short GetDuplex();
void SetDuplex(short nNewValue);
short GetScale();
void SetScale(short nNewValue);
short GetDefaultSource();
void SetDefaultSource(short nNewValue);
short GetTTOption();
void SetTTOption(short nNewValue);
short GetCollate();
void SetCollate(short nNewValue);
long GetSpecVersion();
void SetSpecVersion(long nNewValue);
long GetDriverVersion();
void SetDriverVersion(long nNewValue);
long GetSize();
void SetSize(long nNewValue);
long GetDriverExtra();
void SetDriverExtra(long nNewValue);
long GetLogPixels();
void SetLogPixels(long nNewValue);
long GetFields();
void SetFields(long nNewValue);
long GetBitsPerPel();
void SetBitsPerPel(long nNewValue);
long GetPelsWidth();
void SetPelsWidth(long nNewValue);
long GetPelsHeight();
void SetPelsHeight(long nNewValue);
long GetDisplayFlags();
void SetDisplayFlags(long nNewValue);
long GetDisplayFrequency();
void SetDisplayFrequency(long nNewValue);
long GetICMMethod();
void SetICMMethod(long nNewValue);
long GetICMIntent();
void SetICMIntent(long nNewValue);
short GetYResolution();
void SetYResolution(short nNewValue);
CString GetDeviceName();
void SetDeviceName(LPCTSTR lpszNewValue);
CString GetFormName();
void SetFormName(LPCTSTR lpszNewValue);
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_PRINTERSETTINGS_H__B93D2DBE_798E_41B9_9899_B7579661A4B0__INCLUDED_)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -