SerializerWriterCollator.Write Method

Definition

When overridden in a derived class, synchronously writes a given Visual element to the serialization stream.

Overloads

Write(Visual)

When overridden in a derived class, synchronously writes a given Visual element to the serialization stream.

Write(Visual, PrintTicket)

When overridden in a derived class, synchronously writes a given Visual element together with an associated print ticket to the serialization stream.

Remarks

The Write methods write to the stream associated with the SerializerWriter that created the SerializerWriterCollator from the call to CreateVisualsCollator.

Write(Visual)

When overridden in a derived class, synchronously writes a given Visual element to the serialization stream.

public:
 abstract void Write(System::Windows::Media::Visual ^ visual);
public abstract void Write (System.Windows.Media.Visual visual);
abstract member Write : System.Windows.Media.Visual -> unit
Public MustOverride Sub Write (visual As Visual)

Parameters

visual
Visual

The visual element to write to the serialization Stream.

Remarks

The Write method writes to the stream associated with the SerializerWriter that created the SerializerWriterCollator from the call to CreateVisualsCollator.

See also

Applies to

Write(Visual, PrintTicket)

When overridden in a derived class, synchronously writes a given Visual element together with an associated print ticket to the serialization stream.

public:
 abstract void Write(System::Windows::Media::Visual ^ visual, System::Printing::PrintTicket ^ printTicket);
public abstract void Write (System.Windows.Media.Visual visual, System.Printing.PrintTicket printTicket);
abstract member Write : System.Windows.Media.Visual * System.Printing.PrintTicket -> unit
Public MustOverride Sub Write (visual As Visual, printTicket As PrintTicket)

Parameters

visual
Visual

A Visual that is written to the stream.

printTicket
PrintTicket

An object specifying preferences for how the material should be printed.

Remarks

The Write method writes to the stream associated with the SerializerWriter that created the SerializerWriterCollator from the call to CreateVisualsCollator.

See also

Applies to