This documentation is archived and is not being maintained.

WritingPrintTicketRequiredEventArgs.CurrentPrintTicket Property

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

Namespace: System.Windows.Documents.Serialization
Assembly: PresentationFramework (in presentationframework.dll)

public PrintTicket CurrentPrintTicket { get; set; }
/** @property */
public PrintTicket get_CurrentPrintTicket ()

/** @property */
public void set_CurrentPrintTicket (PrintTicket value)

public function get CurrentPrintTicket () : PrintTicket

public function set CurrentPrintTicket (value : PrintTicket)

Members of this class are either not typically used in XAML, or cannot be used in XAML.

Property Value

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

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.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0
Show: