C# Класс Aspose.Words.Examples.CSharp.Rendering_and_Printing.MultipagePrintDocument

Наследование: System.Drawing.Printing.PrintDocument
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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