WritingPrintTicketRequiredEventArgs.CurrentPrintTicket Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應