CurrentPrintTicket Property
Collapse the table of content
Expand the table of content

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 CurrentPrintTicket As PrintTicket

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