Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

WritingPrintTicketRequiredEventArgs::CurrentPrintTicket Property

 

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

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

public:
property PrintTicket^ CurrentPrintTicket {
	PrintTicket^ get();
	void set(PrintTicket^ value);
}

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:
© 2017 Microsoft