Skip to content

DevExpress-Examples/word-document-api-use-printablecomponentlink-to-print-document

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Word Processing Document API - Use the PrintableComponentLinkBase to Print a Document

This example demonstrates how to use a PrintableComponentLinkBase to print from the RichEditDocumentServer. An instance of the RichEditDocumentServer loads a document, inserts a datetime stamp in its header, and prints it.

Various print options, such as page size, orientation, and margins are set in code at run time. The WinForms application searches a list of installed printers for a printer containing a certain text ("PDF") in its name and prints to it. If a printer is not found, the default printer is used.

Files to Look at: