TouchToolKit for WinForms | ComponentOne
Zooming Component / Zoom Appearance Properties / Zoom Preview
In This Topic
    Zoom Preview
    In This Topic

    A preview image is available for touch zoom. Users can select a preview mode before they use the zoomfactor to operate the Form by touch.

    If you would like to disable the preview set the C1Zoom.ZoomPreviewMode property to NoPreview. Also, you can use a message instead of the preview when the C1Zoom.ZoomPreviewMode property is set to AlternativeContent.

    To programatically set the C1Zoom.ZoomPreviewMode property to AlternativeContent, use the following code:

     

    C#
    Copy Code

    using C1.Win.TouchToolKit;

    c1Zoom1.ZoomPreviewMode = ZoomPreviewMode.AlternativeContent;

    Visual Basic
    Copy Code
    Imports C1.Win.TouchToolKit
    C1Zoom1.ZoomPreviewMode = ZoomPreviewMode.AlternativeContent