System.Windows.Xps Namespace
This page is specific to:.NET Framework Version:3.03.54.0
.NET Framework Class Library
System.Windows.Xps Namespace

Provides classes that write XPS documents to a data store or print queue.

The XpsDocumentWriter class provides the Write and WriteAsync methods that output XPS documents to a data store or print queue. Separate groups of write methods are provided for different content types including DocumentPaginator, Visual, FixedPage, FixedDocument, and FixedDocumentSequence. The XpsDocumentWriter methods enable you to also include a PrintTicket with the document, plus pass additional information to the handlers of the WritingCompleted, WritingProgressChanged, and WritingPrintTicketRequired events.

For more information about XPS see the XML Paper Specification (XPS) available for download at http://go.microsoft.com/fwlink/?LinkID=65761.

For a list of XPS related example programs, see the following topics:

Classes

  ClassDescription
Public classVisualsToXpsDocumentProvides methods for writing Visual objects to XML Paper Specification (XPS) documents or to a print queue in batch mode. 
Public classXpsDocumentWriterProvides methods to write to an XPS document or print queue.  
Public classXpsExceptionServes as the base class for exceptions that are thrown by the XML Paper Specification (XPS) packaging and serialization APIs. 
Public classXpsPackagingExceptionThe exception that is thrown when reading, writing to, registering, or accessing in some other way an XpsDocument.
Public classXpsSerializationExceptionThe exception that is thrown for XML Paper Specification (XPS) document serialization errors. 
Public classXpsWriterExceptionThe exception that is thrown when a method of either an XpsDocumentWriter or a VisualsToXpsDocument object is called that is incompatible with the current state of the object.
Enumerations

  EnumerationDescription
Public enumerationXpsDocumentNotificationLevelIndicates whether a write operation to an XML Paper Specification (XPS) document or a print queue sends back page-by-page and document-by-document progress notifications.
See Also

Reference

Other Resources

© 2009 Microsoft Corporation. All rights reserved.   Terms of Use | Trademarks | Privacy Statement
Page view tracker
Rate the Lightweight library
x
Lightweight builds on ScriptFree (loband) by adding features you've requested: a SearchBox and default code language selection.
Do you like the SearchBox?
Do you like the tabbed code blocks?
How useful is this topic?
Tell us more.
Thanks
x
You're helping to improve MSDN Online.
Feedback
Switch View
Classic
Lightweight Beta
ScriptFree
Switch View