C# 클래스 Aspose.Words.Examples.CSharp.Rendering_and_Printing.MultipagePrintDocument

상속: System.Drawing.Printing.PrintDocument
파일 보기 프로젝트 열기: aspose-words/Aspose.Words-for-.NET 1 사용 예제들

공개 메소드들

메소드 설명
MultipagePrintDocument ( System.Windows.Forms.Document document, int pagesPerSheet, bool printPageBorders ) : System

The constructor of the custom PrintDocument class.

보호된 메소드들

메소드 설명
OnBeginPrint ( System.Drawing.Printing.PrintEventArgs e ) : void

The overridden method OnBeginPrint, which is called before the first page of the document prints.

OnPrintPage ( System.Drawing.Printing.PrintPageEventArgs e ) : void

Generates the printed page from the specified number of the document pages.

비공개 메소드들

메소드 설명
GetThumbCount ( int pagesPerSheet ) : Size

Defines the number of columns and rows depending on the pagesPerSheet number and the page orientation.

HundredthsInchToPoint ( float value ) : float

Converts hundredths of inches to points.

메소드 상세

MultipagePrintDocument() 공개 메소드

The constructor of the custom PrintDocument class.
public MultipagePrintDocument ( System.Windows.Forms.Document document, int pagesPerSheet, bool printPageBorders ) : System
document System.Windows.Forms.Document
pagesPerSheet int
printPageBorders bool
리턴 System

OnBeginPrint() 보호된 메소드

The overridden method OnBeginPrint, which is called before the first page of the document prints.
protected OnBeginPrint ( System.Drawing.Printing.PrintEventArgs e ) : void
e System.Drawing.Printing.PrintEventArgs
리턴 void

OnPrintPage() 보호된 메소드

Generates the printed page from the specified number of the document pages.
protected OnPrintPage ( System.Drawing.Printing.PrintPageEventArgs e ) : void
e System.Drawing.Printing.PrintPageEventArgs
리턴 void