PreviewPrintController.OnEndPrint(PrintDocument, PrintEventArgs) 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
인쇄 문서를 미리 보는 시기와 방법을 결정하는 컨트롤 시퀀스를 완료합니다.
public:
override void OnEndPrint(System::Drawing::Printing::PrintDocument ^ document, System::Drawing::Printing::PrintEventArgs ^ e);
public override void OnEndPrint(System.Drawing.Printing.PrintDocument document, System.Drawing.Printing.PrintEventArgs e);
override this.OnEndPrint : System.Drawing.Printing.PrintDocument * System.Drawing.Printing.PrintEventArgs -> unit
Public Overrides Sub OnEndPrint (document As PrintDocument, e As PrintEventArgs)
매개 변수
- document
- PrintDocument
미리 보기 중인 문서를 나타내는 A PrintDocument 입니다.
인쇄 문서를 미리 보는 방법에 대한 데이터가 포함된 A PrintEventArgs 입니다.
설명
이 메서드는 이벤트를 발생 하게 EndPrint 된 직후 PrintDocument 호출 됩니다. 인쇄 미리 보기 프로세스 OnEndPrint 중에 catch되지 않은 예외가 throw된 경우에도 호출됩니다.
OnStartPrint 는 Graphics 인쇄 미리 보기 중에 표시되는 것을 만듭니다. 호출된 후 OnStartPrint 메서드는 OnStartPage 단일 페이지의 그래픽으로 설정합니다 Graphics . 메서드는 OnEndPage 개체의 할당을 Graphics취소하는 동안 해당 메서드를 OnEndPrint 지웁니다.