Skip to content

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

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 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.

You need a license for the DevExpress Office File API Subscription or DevExpress Universal Subscription to use this library in production code.

Files to Look At

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

Documentation

Printing

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