题目
英语翻译
A printing mechanism comprises a printhead that defines a printzone,and a tray adapted to support at least one sheet of print media.The tray is adapted to move through the printzone during printing by the printhead on the sheet.
The full-blown print handling of a document/view class is inappropriate; in other cases,such as a dialog-based application,it is not available directly via the MFC library.This little class provides for some simple line-printer-simulation output,suitable for printing files,simple text,etc.
Constructs a printer object with the DC of a printer.This is typically obtained from the CPrintDialog by using the flag PD_RETURNDC,then using CDC::FromHandle to get an MFC object for the DC.This terminates the print job.It calls the necessary EndPage and EndDoc functions.If the CPrinter object is destroyed while a print job is active,the destructor will call this method.
This function can be called by a subclass's PageHeading routine to get the current page number.This method can be overridden in a subclass to print a page heading.The default effect in the base class is to print the program name on the left and the page number on the right.This method prints a single line to the printer.No attempt is made to do line wrapping.Implicit left and top margins are assumed.If the line would overflow the existing printable page area,the current page is terminated and a new page is started.The page number is incremented,and heading is printed on the new page
In the base class,this establishes the printer font as the stock ANSI_FIXED_FONT.A subclass may override this to provide its own font.Starts a document on the printer.This must be called before any PrintLine calls are made.This sets up default margins and performs the necessary ::StartDoc call
A printing mechanism comprises a printhead that defines a printzone,and a tray adapted to support at least one sheet of print media.The tray is adapted to move through the printzone during printing by the printhead on the sheet.
The full-blown print handling of a document/view class is inappropriate; in other cases,such as a dialog-based application,it is not available directly via the MFC library.This little class provides for some simple line-printer-simulation output,suitable for printing files,simple text,etc.
Constructs a printer object with the DC of a printer.This is typically obtained from the CPrintDialog by using the flag PD_RETURNDC,then using CDC::FromHandle to get an MFC object for the DC.This terminates the print job.It calls the necessary EndPage and EndDoc functions.If the CPrinter object is destroyed while a print job is active,the destructor will call this method.
This function can be called by a subclass's PageHeading routine to get the current page number.This method can be overridden in a subclass to print a page heading.The default effect in the base class is to print the program name on the left and the page number on the right.This method prints a single line to the printer.No attempt is made to do line wrapping.Implicit left and top margins are assumed.If the line would overflow the existing printable page area,the current page is terminated and a new page is started.The page number is incremented,and heading is printed on the new page
In the base class,this establishes the printer font as the stock ANSI_FIXED_FONT.A subclass may override this to provide its own font.Starts a document on the printer.This must be called before any PrintLine calls are made.This sets up default margins and performs the necessary ::StartDoc call
提问时间:2021-01-23
答案
印刷机制包括一个打印的定义printzone ,和一盘适应支持至少有一个表的印刷媒体.托盘是适应移动通过printzone打印期间的资产负债表上的打印.
充分成熟的打印处理文件/视图类是不恰当的;在其他情况下,如一个对话框的应用程序,这不是可以直接通过MFC库.这个小级提供一些简单的线,印表机模拟输出,适合印刷的文件,简单的文字,等
构造一个Printer对象与DC的一台打印机.这通常是从CPrintDialog使用国旗PD_RETURNDC ,然后利用疾病预防控制中心::FromHandle得到的MFC对象DC.This终止打印作业.它要求必要的末和EndDoc职能.如果CPrinter对象是破坏,而打印的工作是积极的,在析构函数将调用此方法.
这项功能可以说是一个子类的PageHeading例行获得当前页面number.This方法可以在子类中重写打印页面标题.默认效应的基类是打印的程式名称,并在左边的页码上right.This方法打印一条直线到打印机.没有试图做线的包装.隐左侧和顶端的利润承担.如果行会溢出现有打印页面领域,当前页是终止了新的一页的开始.网页数目递增,并且标题是印上新的一页
在基类,这确立了打印机字体的股票ANSI_FIXED_FONT .子类可以覆写这个自行提供font.Starts了一份文件,打印机.这必须要求在任何PrintLine要求作出.此设置默认的利润率,并执行必要的::StartDoc呼吁
是不是有得单词打错了
充分成熟的打印处理文件/视图类是不恰当的;在其他情况下,如一个对话框的应用程序,这不是可以直接通过MFC库.这个小级提供一些简单的线,印表机模拟输出,适合印刷的文件,简单的文字,等
构造一个Printer对象与DC的一台打印机.这通常是从CPrintDialog使用国旗PD_RETURNDC ,然后利用疾病预防控制中心::FromHandle得到的MFC对象DC.This终止打印作业.它要求必要的末和EndDoc职能.如果CPrinter对象是破坏,而打印的工作是积极的,在析构函数将调用此方法.
这项功能可以说是一个子类的PageHeading例行获得当前页面number.This方法可以在子类中重写打印页面标题.默认效应的基类是打印的程式名称,并在左边的页码上right.This方法打印一条直线到打印机.没有试图做线的包装.隐左侧和顶端的利润承担.如果行会溢出现有打印页面领域,当前页是终止了新的一页的开始.网页数目递增,并且标题是印上新的一页
在基类,这确立了打印机字体的股票ANSI_FIXED_FONT .子类可以覆写这个自行提供font.Starts了一份文件,打印机.这必须要求在任何PrintLine要求作出.此设置默认的利润率,并执行必要的::StartDoc呼吁
是不是有得单词打错了
举一反三
已知函数f(x)=x,g(x)=alnx,a∈R.若曲线y=f(x)与曲线y=g(x)相交,且在交点处有相同的切线,求a的值和该切线方程.
我想写一篇关于奥巴马的演讲的文章,写哪一篇好呢?为什么好
奥巴马演讲不用看稿子.为什么中国领导演讲要看?
想找英语初三上学期的首字母填空练习……
英语翻译
最新试题
- 1能简算就简算 3.6+9.7+6.4 4.67-(2.98+0.67) 5分之2/(5分之4-4分之3) 4分之1*6分之5+6分之1*4分之1 (
- 2大卫这篇课文主要讲了什么内容
- 3已知x(x-1)-(x²-1)=-2,求(x²+y²)/2-xy
- 4若数列{an}的前n项和为Sn=an-1(a≠0),则这个数列的特征是( ) A.等比数列 B.等差数列 C.等比或等差数列 D.非等差数列
- 5求八年级上英语第二课课文填空的题目 急用
- 6英语翻译
- 7彩纸的面积是96平方分米,一面小彩旗的面积是200平方厘米,彩纸可以做多少面小彩旗?
- 8他到上学的年龄了.He is ()()()go to school.
- 9kate lives four miles f____ the bank.
- 104.8X-6=7.2+5X
热门考点
- 1It is generally believed that there is a ______ between smoking and lung cancer.
- 2如果|1-2x|=1-2x ,且|5x+1|=5x+1,则x的取值范围是
- 3寂静的山林中,溪水从山上流下来.(扩句)
- 4It was time for lunch.变为同意句
- 5富人之子的相关问题
- 6如图,线段AB=20厘米,点O是线段AB的延长线上,点C、D是线段OA、OB的中点,求CD的长.
- 7如何快速判断一个4位以上的自然数十质数
- 8请你想象一下,假如“流体中,流速越大的位置压强越大”,则可能会出现( ) A.台风刮过,压塌屋顶 B.室外有风时,窗帘飘到窗外 C.两船并行,造成相吸相撞 D.汽车驶过,路边的树叶
- 9We should arrive at school at half past seven in the morning的2句意思相近的句子
- 10六年级下册语文第二课【三亚落日】中,‘夕阳也渐渐收敛了光芒变得温和起来.’这个句子的妙处.