System.Windows.Printing Namespace
Microsoft Silverlight will reach end of support after October 2021. Learn more.
The System.Windows.Printing namespace provides printing services for a Silverlight application.
To offer printing services in a Silverlight application, add a PrintDocument to the application and call the Print() method to open a print dialog box. Opening the print dialog box must be user initiated, such as clicking a button. Handle the PrintPage event to perform the print operation.
Classes
Class | Description | |
---|---|---|
BeginPrintEventArgs | Provides data for the BeginPrint event. | |
EndPrintEventArgs | Provides data for the EndPrint event. | |
PrintDocument | Provides printing capabilities for a Silverlight application. | |
PrinterFallbackSettings | Provides device specific settings for printers that have vector printing limitations. | |
PrintPageEventArgs | Provides data for the PrintPage event. |