C# 클래스 Patagames.Pdf.Net.Controls.Wpf.PdfPrint

Provides methods to print the entire document asynchronously.
파일 보기 프로젝트 열기: Patagames/Pdf.Wpf

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