XpsDocumentWriter Class
Provides methods to write to an XPS document or print queue.
Assembly: System.Printing (in System.Printing.dll)
System.Windows.Documents.Serialization::SerializerWriter
System.Windows.Xps::XpsDocumentWriter
| Name | Description | |
|---|---|---|
| _WritingCancelled | Occurs when a Write or WriteAsync operation is canceled. | |
| _WritingCompleted | Occurs when a write operation finishes. | |
| _WritingProgressChanged | Occurs when the XpsDocumentWriter updates its progress. | |
![]() | WritingCancelled | Occurs when a Write or WriteAsync operation is canceled.(Overrides SerializerWriter::WritingCancelled.) |
![]() | WritingCompleted | Occurs when a write operation finishes.(Overrides SerializerWriter::WritingCompleted.) |
![]() | WritingPrintTicketRequired | Occurs just before a Write or WriteAsync method adds a PrintTicket to a document or print queue.(Overrides SerializerWriter::WritingPrintTicketRequired.) |
![]() | WritingProgressChanged | Occurs when the XpsDocumentWriter updates its progress.(Overrides SerializerWriter::WritingProgressChanged.) |
XpsDocumentWriter has no constructor. To create an XpsDocumentWriter, use the static CreateXpsDocumentWriter method of the XpsDocument class or use one of the static CreateXpsDocumentWriter methods of the PrintQueue class. The document or the queue that creates the XpsDocumentWriter becomes the target to which it writes.
Available since 3.0
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


