Redigera

Dela via


SerializerWriter.WritingPrintTicketRequired Event

Definition

When overridden in a derived class, occurs just before a PrintTicket is added to a stream by a Write or WriteAsync method.

public:
 abstract event System::Windows::Documents::Serialization::WritingPrintTicketRequiredEventHandler ^ WritingPrintTicketRequired;
public abstract event System.Windows.Documents.Serialization.WritingPrintTicketRequiredEventHandler WritingPrintTicketRequired;
member this.WritingPrintTicketRequired : System.Windows.Documents.Serialization.WritingPrintTicketRequiredEventHandler 
Public MustOverride Custom Event WritingPrintTicketRequired As WritingPrintTicketRequiredEventHandler 
Public MustOverride Event WritingPrintTicketRequired As WritingPrintTicketRequiredEventHandler 

Event Type

Remarks

The WritingPrintTicketRequired event enables the event handler to substitute a new PrintTicket for the one specified in the Write or WriteAsync method call.

Applies to

See also