C# Класс Patagames.Pdf.Net.Controls.Wpf.PdfPrint

Provides methods to print the entire document asynchronously.
Показать файл Открыть проект

Private Properties

Свойство Тип Описание
Paginator_PagePrinted void
ThreadProc void

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

Метод Описание
End ( ) : void

Requests cancellation of a printing.

PdfPrint ( PdfDocument document ) : System

Initializes a new instance of the PdfPrint class.

ShowDialog ( Window window ) : void

Shows PrintDialog and starts asynchronous execution of a printing.

This method does not breaks the previous operation before execute a new printing.

StartPrintAsync ( ) : void

Starts asynchronous execution of a printing.

This method does not breaks the previous operation before execute a new printing.

Защищенные методы

Метод Описание
OnCancelationPending ( ) : void

Raises the CancelationPending event.

OnPagePrinted ( PagePrintedEventArgs e ) : void

Raises the PagePrinted event.

OnPrintCompleted ( ) : void

Raises the PrintCompleted event.

OnPrintStarted ( ) : void

Raises the PrintStarted event.

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

Метод Описание
Paginator_PagePrinted ( object sender, PagePrintedEventArgs e ) : void
ThreadProc ( object param ) : void

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

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

Requests cancellation of a printing.
public End ( ) : void
Результат void

OnCancelationPending() защищенный Метод

Raises the CancelationPending event.
protected OnCancelationPending ( ) : void
Результат void

OnPagePrinted() защищенный Метод

Raises the PagePrinted event.
protected OnPagePrinted ( PagePrintedEventArgs e ) : void
e PagePrintedEventArgs An that contains the event data.
Результат void

OnPrintCompleted() защищенный Метод

Raises the PrintCompleted event.
protected OnPrintCompleted ( ) : void
Результат void

OnPrintStarted() защищенный Метод

Raises the PrintStarted event.
protected OnPrintStarted ( ) : void
Результат void

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

Initializes a new instance of the PdfPrint class.
public PdfPrint ( PdfDocument document ) : System
document PdfDocument The instance of class
Результат System

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

Shows PrintDialog and starts asynchronous execution of a printing.
This method does not breaks the previous operation before execute a new printing.
public ShowDialog ( Window window ) : void
window System.Windows.Window Parent window for PrintDialog. If Null then PrintDialog not shown.
Результат void

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

Starts asynchronous execution of a printing.
This method does not breaks the previous operation before execute a new printing.
public StartPrintAsync ( ) : void
Результат void