XpsDocumentWriter.Write 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 Write 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 Specification. The reserialization will also remove all extensions from the FixedPage markup, including any extended XPS content.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2