XpsDocumentWriter Members

Provides methods to write to an XPS document or print queue.  

The XpsDocumentWriter type exposes the following members.

  NameDescription
Public method CancelAsync Cancels the current WriteAsync operation. (Overrides SerializerWriter.CancelAsync().)
Public method CreateVisualsCollator Overloaded. Returns a VisualsToXpsDocument that can write Visual objects to a document or print queue.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method Write Overloaded. Writes synchronously to an XPS document or print queue.
Public method WriteAsync Overloaded. Writes asynchronously to the XpsDocument or PrintQueue that created the XpsDocumentWriter.
Top

  NameDescription
Protected event _WritingCancelled Occurs when a Write or WriteAsync operation is canceled.
Protected event _WritingCompleted Occurs when a write operation finishes.
Protected event _WritingPrintTicketRequired Occurs just before a Write or WriteAsync method adds a PrintTicket to a document or print queue.
Protected event _WritingProgressChanged Occurs when the XpsDocumentWriter updates its progress.
Public event WritingCancelled Occurs when a Write or WriteAsync operation is canceled. (Overrides SerializerWriter.WritingCancelled.)
Public event WritingCompleted Occurs when a write operation finishes. (Overrides SerializerWriter.WritingCompleted.)
Public event WritingPrintTicketRequired Occurs just before a Write or WriteAsync method adds a PrintTicket to a document or print queue. (Overrides SerializerWriter.WritingPrintTicketRequired.)
Public event WritingProgressChanged Occurs when the XpsDocumentWriter updates its progress. (Overrides SerializerWriter.WritingProgressChanged.)
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2015 Microsoft