Skip to content

Use the RichEditDocumentXpfPrinter class method to create a fixed document and utilize the PrintDialog class to print this document.

License

Notifications You must be signed in to change notification settings

DevExpress-Examples/word-document-api-print-fixed-documents-in-wpf-application

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Word Processing Document API - Print Fixed Documents in WPF Application

This example demonstrates how to use the RichEditDocumentXpfPrinter.CreateFixedDocument method to create a fixed document from a document loaded to the Word Processing Document API. A custom method iterates all available printers, chooses the printer that contains "Canon" in its name, and invokes the PrintDialog to print the document.

Important

The Universal Subscription or an additional Office File API Subscription is required to use this example in production code. For pricing information, please refer to the DevExpress Subscription page.

Files to Look At

MainWindow.xaml.cs (VB: MainWindow.xaml.vb)

Documentation

Printing

Does this example address your development requirements/objectives?

(you will be redirected to DevExpress.com to submit your response)

About

Use the RichEditDocumentXpfPrinter class method to create a fixed document and utilize the PrintDialog class to print this document.

Topics

Resources

License

Stars

Watchers

Forks