XpsDocumentWriter.WriteAsync Method (FixedDocumentSequence, Object)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Writes asynchronously a specified FixedDocumentSequence to the target XpsDocument or PrintQueue.

Namespace:   System.Windows.Xps
Assembly:  System.Printing (in System.Printing.dll)

public override void WriteAsync(
	FixedDocumentSequence fixedDocumentSequence,
	object userSuppliedState
)

Parameters

fixedDocumentSequence
Type: System.Windows.Documents.FixedDocumentSequence

The set of documents that are written.

userSuppliedState
Type: System.Object

A user-specified object to identify and associate with the asynchronous operation.

Although the XpsDocument class has a singular name, an XpsDocument can be one FixedDocument or a set of multiple documents. This method adds a FixedDocument or a set of FixedDocument elements to the existing set.

.NET Framework
Available since 3.0
Return to top
Show: