Export (0) Print
Expand All

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft