PrintDialog.PrintDocument(DocumentPaginator, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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);
public void PrintDocument (System.Windows.Documents.DocumentPaginator documentPaginator, string description);
[<System.Security.SecurityCritical>]
member this.PrintDocument : System.Windows.Documents.DocumentPaginator * string -> unit
member this.PrintDocument : System.Windows.Documents.DocumentPaginator * string -> unit
Public Sub PrintDocument (documentPaginator As DocumentPaginator, description As String)
Parameters
- documentPaginator
- DocumentPaginator
The DocumentPaginator object to print.
- description
- String
A description of the job that is to be printed. This text appears in the user interface (UI) of the printer.
- Attributes
Exceptions
documentPaginator
is null
.
Applies to
GitHub पर हमारे साथ सहयोग करें
इस सामग्री का स्रोत GitHub पर पाया जा सकता है, जहाँ आप समस्याएँ बना और समीक्षा भी कर सकते हैं और अनुरोध खींच सकते हैं. अधिक जानकारी के लिए, हमारे योगदानकर्ता गाइड देखें.