TouchToolKit for WinForms | ComponentOne
Zoom Policies / ZoomPolicy / C1PrintPreviewControlZoomPolicy
In This Topic
    C1PrintPreviewControlZoomPolicy
    In This Topic

    If you change the value of the C1PrintPreviewControl.Font property, add the C1ReportZoomPolicy to make sure that every element in the C1PrintPreviewControl zooms correctly.

    The initial zoomfactor is 100%, as shown below:

     

    how printpreview looks initially

    C1PrintPreviewControl Without ZoomPolicy and With ZoomPolicy

    To see the difference between using and not using the C1ReportZoomPolicy, complete the following:

    1.        Set the ZoomFactor property to 125%

    2.        Run the project to see the C1PrintPreview control zoomed using the C1PrintPreviewControlZoomPolicy.

    3.        At design time set the C1PrintPreviewControlZoomPolicy to disable and run the project.

     

    The following table illustrates the ZoomFactor set at 125% for C1PrintPreview and illustrates the difference between adding and not adding the C1PrintPreviewControlZoomPolicy.

     

    Without ZoomPolicy

    With ZoomPolicy

    shows printpreview without zoom policy

    shows printpreview with zoom policy