PrintDialog.PrintDocument(DocumentPaginator, String) PrintDialog.PrintDocument(DocumentPaginator, String) PrintDialog.PrintDocument(DocumentPaginator, String) Method

Definition

Prints a DocumentPaginator object to the PrintQueue that is currently selected.

public:
 void PrintDocument(System::Windows::Documents::DocumentPaginator ^ documentPaginator, System::String ^ description);
[System.Security.SecurityCritical]
public void PrintDocument (System.Windows.Documents.DocumentPaginator documentPaginator, string description);
member this.PrintDocument : System.Windows.Documents.DocumentPaginator * string -> unit

Parameters

description
String String String

A description of the job that is to be printed. This text appears in the user interface (UI) of the printer.

Exceptions

Applies to