印刷機制包括一個打印的定義printzone ,和一盤適應(yīng)支持至少有一個表的印刷媒體.托盤是適應(yīng)移動通過printzone打印期間的資產(chǎn)負債表上的打印.
充分成熟的打印處理文件/視圖類是不恰當(dāng)?shù)?在其他情況下,如一個對話框的應(yīng)用程序,這不是可以直接通過MFC庫.這個小級提供一些簡單的線,印表機模擬輸出,適合印刷的文件,簡單的文字,等
構(gòu)造一個Printer對象與DC的一臺打印機.這通常是從CPrintDialog使用國旗PD_RETURNDC ,然后利用疾病預(yù)防控制中心::FromHandle得到的MFC對象DC.This終止打印作業(yè).它要求必要的末和EndDoc職能.如果CPrinter對象是破壞,而打印的工作是積極的,在析構(gòu)函數(shù)將調(diào)用此方法.
這項功能可以說是一個子類的PageHeading例行獲得當(dāng)前頁面number.This方法可以在子類中重寫打印頁面標題.默認效應(yīng)的基類是打印的程式名稱,并在左邊的頁碼上right.This方法打印一條直線到打印機.沒有試圖做線的包裝.隱左側(cè)和頂端的利潤承擔(dān).如果行會溢出現(xiàn)有打印頁面領(lǐng)域,當(dāng)前頁是終止了新的一頁的開始.網(wǎng)頁數(shù)目遞增,并且標題是印上新的一頁
在基類,這確立了打印機字體的股票ANSI_FIXED_FONT .子類可以覆寫這個自行提供font.Starts了一份文件,打印機.這必須要求在任何PrintLine要求作出.此設(shè)置默認的利潤率,并執(zhí)行必要的::StartDoc呼吁
是不是有得單詞打錯了
英語翻譯
英語翻譯
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
英語人氣:282 ℃時間:2020-05-31 09:48:40
優(yōu)質(zhì)解答
我來回答
類似推薦
猜你喜歡
- 1氧化鐵還原成四氧化三鐵,為什么是還原反應(yīng)
- 22010至2011六年級下冊數(shù)學(xué)期中試卷蘇教版
- 3開卷有益的名人讀書故事
- 4函數(shù)圖象關(guān)于點M(a,0)和點N(b,0)對稱,則函數(shù)y=f(x)是周期函數(shù)嗎
- 5過濾除菌操作時,將菌液注入濾器過濾,時間不宜過長,壓力控制在多少為宜?
- 6“5、5、5、1”四個數(shù)字,利用加減乘除括號,計算出24
- 7鄭人買履80字感想 急
- 8兩道數(shù)學(xué)必修5等差數(shù)列的題
- 9先化簡,再求值:(X的平方-4x+4/x+8-2-x/1)÷x的平方-2x/x+3 其中x的平方-4=0
- 10在標況下,如果1.6L氧氣含n個氧分子,則阿伏加德羅常數(shù)的數(shù)值為?
- 11已知數(shù)列an的通項公式an=1/(4n²-1),若數(shù)列an的前n項和Sn=7/15則n為多少
- 12如果三點A(a,2)、B(5,1)、C(-4,2a)在同一條直線上,求常數(shù)a的值.怎么做啊