# RibbonPreview Dialog

Learn more about PrintDocument from this WinForms documentation helpfile.

## Content



By using **RibbonPreviewDialog**, you can preview how the document appear when printed. The RibbonPreviewDialog allows zooming and navigating through the pages via the toolbar.

![Snapshot of RibbonPreview dialog](https://cdn.mescius.io/document-site-files/images/6772f728-508e-4e80-9394-208f07d64beb/images/ribbon-preview-dialogwindow.gif)

The user interface of **PrintPreviewDialog** is built on top of Preview Pane, Text Search Tool, Outline Pane and Thumbnail pane.

The code snippet below shows how you can preview a document prior to printing using the RibbonPreviewDialog component.

```csharp
previewDialog.Document = this.c1PrintDocument1;
previewDialog.ShowDialog()
```