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

    By using PrintPreview Dialog, you can preview how the PrintDocument will appear when printed. The PrintPreview Dialog allows zooming and navigating through the pages via the toolbar.

    A moving image of using PrintPreview Dialog

    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 PrintPreview Dialog component.

    C#
    Copy Code
    previewDialog.Document = this.c1PrintDocument1;
    previewDialog.ShowDialog()