Redigera

Dela via


WritingPrintTicketRequiredEventArgs.CurrentPrintTicket Property

Definition

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

public:
 property System::Printing::PrintTicket ^ CurrentPrintTicket { System::Printing::PrintTicket ^ get(); void set(System::Printing::PrintTicket ^ value); };
public System.Printing.PrintTicket CurrentPrintTicket { get; set; }
public System.Printing.PrintTicket CurrentPrintTicket { [System.Security.SecurityCritical] [System.Security.SecurityTreatAsSafe] get; [System.Security.SecurityCritical] [System.Security.SecurityTreatAsSafe] set; }
member this.CurrentPrintTicket : System.Printing.PrintTicket with get, set
[<get: System.Security.SecurityCritical>]
[<get: System.Security.SecurityTreatAsSafe>]
[<set: System.Security.SecurityCritical>]
[<set: System.Security.SecurityTreatAsSafe>]
member this.CurrentPrintTicket : System.Printing.PrintTicket with get, set
Public Property CurrentPrintTicket As PrintTicket

Property Value

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

Attributes

Remarks

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.

Applies to