PrintJobSettings.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 a PrintTicket object that holds all the detailed settings for the print job.

Namespace:   System.Printing
Assembly:  System.Printing (in System.Printing.dll)

public PrintTicket CurrentPrintTicket { get; set; }

Property Value

Type: System.Printing.PrintTicket

A PrintTicket object that holds all the details about the print job, such as the number of copies to print, and whether stapling or duplex printing is used.

Setting this 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: