Esta documentación está archivada y no tiene mantenimiento.

XpsDocumentWriter.Write (Método) (String)

Writes synchronously a specified XPS document to the target XpsDocument or PrintQueue.

Espacio de nombres: System.Windows.Xps
Ensamblado: System.Printing (en system.printing.dll)

public void Write (
	string documentPath
public void Write (
	String documentPath
public function Write (
	documentPath : String
No aplicable.



The path of the source document.

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 Specificatio. The reserialization will also remove all extensions from the FixedPage markup, including any extended XPS content.

By design this Write method does not call the WritingPrintTicketRequired event.

Microsoft .NET Framework 3.0 es compatible con Windows Vista, Microsoft Windows XP SP2 y Windows Server 2003 SP1.

.NET Framework

Compatible con: 3.0