PrintDocument for WinForms | ComponentOne
PrintPreview Library / Margins and Rulers
In This Topic
    Margins and Rulers
    In This Topic

    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

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

    Snapshot of rulers in preview pane

    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

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