# Ribbon

Learn about using ribbon toolbar in PrintDocument from this WinForms documentation helpfile.

## Content



The **RibbonPreview** control features can be accessed by using the command buttons on the ribbon UI located at the top of the control.

The image below shows the RibbonPreview ribbon and its different groups, such as **Document, Page, Navigation, Zoom and Tools.**

![Ribbon toolbar](https://cdn.mescius.io/document-site-files/images/6772f728-508e-4e80-9394-208f07d64beb/images/ribbon-toolbar.png)

The major command buttons of ribbon for RibbonPreview are listed below with their icon images, location ( the Group to which they belong) and a brief description.

| **Ribbon Commands** | **Button Icons** |   **Group**   |   **Description**   |
| --- | :-: | --- | --- |
| Open |   ![Open ribbon command](https://cdn.mescius.io/document-site-files/images/6772f728-508e-4e80-9394-208f07d64beb/images/open-ribbon.png)   | Document | Lets you open a document |
| Export |   ![Export ribbon command](https://cdn.mescius.io/document-site-files/images/6772f728-508e-4e80-9394-208f07d64beb/images/export-ribbon.png)   | Document | Lets you export the document to file. |
| Print |   ![Print ribbon command](https://cdn.mescius.io/document-site-files/images/6772f728-508e-4e80-9394-208f07d64beb/images/print-ribbon.png)   | Document | Lets you print the document. |
| Page Setup |   ![Page setup ribbon command](https://cdn.mescius.io/document-site-files/images/6772f728-508e-4e80-9394-208f07d64beb/images/page-setup-ribbon.png)   | Page | Lets you change page settings of the current document. |
| Portrait |   ![Portrait ribbon command](https://cdn.mescius.io/document-site-files/images/6772f728-508e-4e80-9394-208f07d64beb/images/portrait-ribbon.png)   | Page | Lets you view the document in portrait mode. |
| Landscape |   ![Landscape ribbon command](https://cdn.mescius.io/document-site-files/images/6772f728-508e-4e80-9394-208f07d64beb/images/landscape-ribbon.png)   | Page | Lets you view the document in landscape mode. |
| Previous |   ![Previous ribbon command](https://cdn.mescius.io/document-site-files/images/6772f728-508e-4e80-9394-208f07d64beb/images/previous-ribbon.png)   | Navigation | Lets you go back in history.<br /> |
| Next View |   ![Next view ribbon command](https://cdn.mescius.io/document-site-files/images/6772f728-508e-4e80-9394-208f07d64beb/images/next-view-ribbon.png)   | Navigation | Lets you go forward in history. |
| Go to first page |   ![Goto first ribbon command](https://cdn.mescius.io/document-site-files/images/6772f728-508e-4e80-9394-208f07d64beb/images/goto-firstpage.png)   | Navigation | Lets you go to the first page of the document. |
| Go to last page |   ![Goto last ribbon command](https://cdn.mescius.io/document-site-files/images/6772f728-508e-4e80-9394-208f07d64beb/images/gotolast-ribbon.png)   | Navigation | Lets you go to the last page of the document. |
| Go to previous page |   ![Goto previous command](https://cdn.mescius.io/document-site-files/images/6772f728-508e-4e80-9394-208f07d64beb/images/goto-previous-ribbon.png)   | Navigation | Lets you go to the previous page of the document. |
| Go to next page |   ![Gotto next command button](https://cdn.mescius.io/document-site-files/images/6772f728-508e-4e80-9394-208f07d64beb/images/gotonext-ribbon.png)   | Navigation | Lets you go to the next page of the document. |
| Current page number |   ![Current page command button](https://cdn.mescius.io/document-site-files/images/6772f728-508e-4e80-9394-208f07d64beb/images/currentpage-ribbon.png)   | Navigation | Displays the current page number that is being viewed in the document. |
| Zoom |   ![Zoom ribbon command](https://cdn.mescius.io/document-site-files/images/6772f728-508e-4e80-9394-208f07d64beb/images/zoom-ribbon.png)   | Zoom | Lets you customize the zoom level in the document. |
| Fit Width |   ![Fit width command](https://cdn.mescius.io/document-site-files/images/6772f728-508e-4e80-9394-208f07d64beb/images/fit-width-ribbon.png)   | Zoom | Lets you zoom pages to fill the window width. |
| Fit Window |   ![Fit window command](https://cdn.mescius.io/document-site-files/images/6772f728-508e-4e80-9394-208f07d64beb/images/fitwidnow-ribbon.png)   | Zoom | Lets you zoom pages to fit within the window. |
| Zoom to 100% |   ![Zoom command](https://cdn.mescius.io/document-site-files/images/6772f728-508e-4e80-9394-208f07d64beb/images/zoom-to-100percent.png)   | Zoom | Lets you zoom the document to 100% of the normal size. |
| Pages |   ![Pages command](https://cdn.mescius.io/document-site-files/images/6772f728-508e-4e80-9394-208f07d64beb/images/pages-ribbon.png)   | Tools | Lets you view the Thumbnails panel. |
| Search |   ![Search command](https://cdn.mescius.io/document-site-files/images/6772f728-508e-4e80-9394-208f07d64beb/images/search-ribbon.png)   | Tools | Lets you view the Text Search Panel. |
| Hand Tool |   ![Handtool command](https://cdn.mescius.io/document-site-files/images/6772f728-508e-4e80-9394-208f07d64beb/images/handtool-ribbon.png)   | Tools | Lets you scroll in window using the mouse. |
| Text Select Tool |   ![Text select tool](https://cdn.mescius.io/document-site-files/images/6772f728-508e-4e80-9394-208f07d64beb/images/text-selectool-ribbon.png)   | Tools | Lets you select the text to copy from the document. |
| Copy Text |   ![Copy text command](https://cdn.mescius.io/document-site-files/images/6772f728-508e-4e80-9394-208f07d64beb/images/copy-text-ribbon.png)   | Tools | Lets you copy the text from the document. |