XpsDocumentWriter.WriteAsync Method (FixedDocument, Object)

 

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

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

public override void WriteAsync(
	FixedDocument fixedDocument,
	object userSuppliedState
)

Parameters

fixedDocument
Type: System.Windows.Documents.FixedDocument

The document that is 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 to the set.

.NET Framework
Available since 3.0
Return to top
Show: