XpsDocumentWriter.WriteAsync Method (DocumentPaginator, Object)

 

Writes asynchronously paginated content from a specified DocumentPaginator to the target XpsDocument or PrintQueue.

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

public override void WriteAsync(
	DocumentPaginator documentPaginator,
	object userSuppliedState
)

Parameters

documentPaginator
Type: System.Windows.Documents.DocumentPaginator

An object that contains a pointer to unpaginated source material; also contains methods for paginating the material.

userSuppliedState
Type: System.Object

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

.NET Framework
Available since 3.0
Return to top
Show: