当前位置: > 英语翻译...
题目
英语翻译
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呼吁
是不是有得单词打错了
举一反三
已知函数f(x)=x,g(x)=alnx,a∈R.若曲线y=f(x)与曲线y=g(x)相交,且在交点处有相同的切线,求a的值和该切线方程.
我想写一篇关于奥巴马的演讲的文章,写哪一篇好呢?为什么好
奥巴马演讲不用看稿子.为什么中国领导演讲要看?
想找英语初三上学期的首字母填空练习……
英语翻译
版权所有 CopyRight © 2012-2019 超级试练试题库 All Rights Reserved.