PrintDocument for WinForms | ComponentOne
PrintPreview Library / PrintPreview Control
In This Topic
    PrintPreview Control
    In This Topic

    The PrintPreview control is an integrated document viewer control with toolbar, viewer pane, navigation panels and status bar. This previewing control can be used to generate and view reports, or view previously saved ComponentOne documents (.c1d, .c1dx, .c1mdx, .c1db).

    The image below provides a snapshot of the PrintPreview control.

    User iterface of PrintPreview

    Apart from being a flexible previewing tool, PrintPreview control allows you to change the default settings of elements like toolbar, preview pane, ruler, margin, vertical padding, thumbnail pane and outline pane using the smart designer.

    The image below depicts the elements in the PrintPreview control:

    Let us explore the smart designer settings for each element in the sections below.

    PrintPreview Control Smart Designer

    If the smart designer is enabled, then clicking the PrintPreviewControl in the designer will show a floating toolbar as given below:

    Floating toolbar of PrintPreview

     Each option in the floating toolbar is elaborated in the following table:

    FloatingBar item Description
    Floating toolbar item 1 It lets you close the main menu.
    Floating toolbar item 2 It lets you select preset toolbar images.
    Floating toolbar item 3 It lets you hide or show panels like navigation panel (outline and thumbnail), status bar, toolbar, text search panel. It also lets the user choose between the two layouts for Text Search Panel, which is the default panel or toolbar.
    Floating toolbar item 4 It lets you hide or show different toolbars like File, PageView, Navigation, Zoom, Text and Search.
    Floating toolbar item 5 It lets you view the printing options, page layouts and page scaling.
    Floating toolbar item 6 It lets you set preview pane tooltips, such as the tooltip icon, title, tooltip balloon etc.
    Floating toolbar item 7 It lets you set export options, like export formats and export option dialog box.
    Floating toolbar item 8 It lets you localize preview in a different culture.

    Toolbar Element Smart Designer

    Also, if the smart designer is enabled, then clicking the elements or command buttons in the toolbar, will open a floating toolbar as given below:

    Toolbar smart designer

    Each option in the floating toolbar is elaborated in the following table:

    FloatingBar item Description
    Text option in floating toolbar. It allows you to edit text-related properties.
    Image option in floating toolbar. It allows you to edit image and background image.
    Color option in floating toolbar. It allows you to edit item colors.
    Edit option in floating toolbar 1 It allows you to edit item layout.
    Edit option in floating toolbar 2 It allows you to edit miscellaneous properties like auto-tooltip, alignment, overflow etc.