# Margins and Rulers

Learn about margins and rulers in PrintDocument from this WinForms documentation helpfile.

## Content



The Preview Pane lets you change the default margins and rulers settings of the PrintDocument. For this, you can use the smart designer on the Preview Pane, or use the same options via the Properties window.

The PreviewPane's smart designer provides the **Margins** window to alter the visibility of horizontal and horizontal page margins and change the toggle property.

![Snapshot of margins in preview pane](https://cdn.mescius.io/document-site-files/images/6772f728-508e-4e80-9394-208f07d64beb/images/margins-window-previewpane.png)

Likewise, the smart designer also provides the **Rulers** window to change the visibility of horizontal and vertical rulers.

![Snapshot of rulers in preview pane](https://cdn.mescius.io/document-site-files/images/6772f728-508e-4e80-9394-208f07d64beb/images/rulers-previewpage.png)

The smart designer for Preview pane also provides the Appearance window to change the measurement for padding, which allows you to specify the spacing between the borders and the control's content. you can customize the padding between pages, pages and hidden margins, background color, border style and page fill color.

![Snapshot of padding in preview pane](https://cdn.mescius.io/document-site-files/images/6772f728-508e-4e80-9394-208f07d64beb/images/padding.png)

You can reset the properties to default by clicking the **Reset properties to default** button.