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 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈