Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @DevExpressExampleBot
13 changes: 6 additions & 7 deletions Readme.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,19 @@
<!-- default badges list -->
![](https://img.shields.io/endpoint?url=https://codecentral.devexpress.com/api/v1/VersionRange/128608313/24.2.1%2B)
[![](https://img.shields.io/badge/Open_in_DevExpress_Support_Center-FF7200?style=flat-square&logo=DevExpress&logoColor=white)](https://supportcenter.devexpress.com/ticket/details/E3190)
[![](https://img.shields.io/badge/📖_How_to_use_DevExpress_Examples-e9f6fc?style=flat-square)](https://docs.devexpress.com/GeneralInformation/403183)
[![](https://img.shields.io/badge/💬_Leave_Feedback-feecdd?style=flat-square)](#does-this-example-address-your-development-requirementsobjectives)
<!-- default badges end -->
<!-- default file list -->
*Files to look at*:

* [Form1.cs](./CS/RichEditDocumentServer-Printing/Form1.cs) (VB: [Form1.vb](./VB/RichEditDocumentServer-Printing/Form1.vb))
<!-- default file list end -->
# Word Processing Document API - Invoke the Print Preview Dialog and Print a Document

<p>This example illustrates how to use the <a href="http://documentation.devexpress.com/#WindowsForms/clsDevExpressXtraPrintingPrintableComponentLinktopic"><u>PrintableComponentLink</u></a> to invoke a Print Preview dialog for a <a href="http://help.devexpress.com/#DocumentServer/clsDevExpressXtraRichEditRichEditDocumentServertopic"><u>RichEditDocumentServer</u></a>. A document server instance is created via code and a simple multiplication table is inserted programmatically in a document.</p>
This example illustrates how to use the [PrintableComponentLink](https://docs.devexpress.com/WindowsForms/DevExpress.XtraPrinting.PrintableComponentLink) to invoke a Print Preview dialog for a [RichEditDocumentServer](https://docs.devexpress.com/OfficeFileAPI/DevExpress.XtraRichEdit.RichEditDocumentServer). A document server instance is created via code and a simple multiplication table is inserted programmatically in a 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](https://www.devexpress.com/Subscriptions/) page.

<br/>
## Files to Review

* [Form1.cs](./CS/RichEditDocumentServer-Printing/Form1.cs) (VB: [Form1.vb](./VB/RichEditDocumentServer-Printing/Form1.vb))

<!-- feedback -->
## Does this example address your development requirements/objectives?
Expand Down