WritingPrintTicketRequiredEventArgs.CurrentPrintTicket 属性

定义

获取或设置打印文档时使用的默认打印机设置。

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

属性值

PrintTicket

打印文档时使用的默认打印机设置。

属性

注解

CurrentPrintTicket设置属性不会验证或修改为特定PrintQueue指定的PrintTicket属性。 如果需要,请使用 MergeAndValidatePrintTicket 方法创建特定于 PrintQueuePrintTicket(对给定打印机有效)。

适用于