WritingPrintTicketRequiredEventArgs.CurrentPrintTicket Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets or sets the default printer settings to use when the document is printed.

Namespace:   System.Windows.Documents.Serialization
Assembly:  PresentationFramework (in PresentationFramework.dll)

member CurrentPrintTicket : PrintTicket with get, set

Property Value

Type: System.Printing.PrintTicket

The default printer settings to use when the document is printed.

Setting the CurrentPrintTicket property does not validate or modify the specified PrintTicket for a particular PrintQueue. If needed, use the MergeAndValidatePrintTicket method to create a PrintQueue-specific PrintTicket that is valid for a given printer.

.NET Framework
Available since 3.0
Return to top
Show: