XpsDocumentWriter.WriteAsync Method (String)
Assembly: System.Printing (in system.printing.dll)
Although the XpsDocument class has a singular name, an XpsDocument can be one FixedDocument or a set of multiple documents. This method adds the FixedDocument elements in the source to the set of FixedDocument elements in the target XpsDocument or PrintQueue.
This WriteAsync method will reserialize the specified XPS document which will remove all content from the Package that is not required to be preserved by the XML Paper Specificatio. The reserialization will also remove all extensions from the FixedPage markup, including any extended XPS content.
By design this WriteAsync method does not call the WritingPrintTicketRequired event.
Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter EditionThe Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.