C# Класс BaconFeedback.PrintHandler

Class used to layout print documents prior to preview or printing.
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
ConstructPrintDocument ( System.Drawing.Printing.PrintPageEventArgs e ) : void

Builds a multi page print document for display in a print preview, or for printing directly. This will be called as many times as there are pages in the print document.

PrintHandler ( List files ) : System

Constructor accepting a single argument.

Приватные методы

Метод Описание
ConstructSingleFeedback ( System.Drawing.Printing.PrintPageEventArgs e ) : void

Creates a print layout for a single feedback file.

Print ( System.Drawing.Printing.PrintPageEventArgs e, IEnumerable pairs ) : void
PrintBody ( System.Drawing.Printing.PrintPageEventArgs e, string body, int &yOffset, int xOffset ) : void
PrintEmptyLine ( System.Drawing.Printing.PrintPageEventArgs e, int &yOffset ) : void
PrintHead ( System.Drawing.Printing.PrintPageEventArgs e, string head, int &yOffset ) : void
PrintSingleColumn ( System.Drawing.Printing.PrintPageEventArgs e, string head, string body, int &yOffset ) : void
PrintTwoColumn ( System.Drawing.Printing.PrintPageEventArgs e, string head, string body, int &yOffset ) : void
SkeletonFile ( FeedbackFile file ) : IEnumerable>

Описание методов

ConstructPrintDocument() публичный Метод

Builds a multi page print document for display in a print preview, or for printing directly. This will be called as many times as there are pages in the print document.
public ConstructPrintDocument ( System.Drawing.Printing.PrintPageEventArgs e ) : void
e System.Drawing.Printing.PrintPageEventArgs
Результат void

PrintHandler() публичный Метод

Constructor accepting a single argument.
public PrintHandler ( List files ) : System
files List List of feedback files requested for printing.
Результат System