TouchToolKit for WinForms | ComponentOne
C1.Win.TouchToolKit Namespace / C1Zoom Class / ZoomPreviewMode Property
Example

In This Topic
    ZoomPreviewMode Property (C1Zoom)
    In This Topic
    Gets or sets a value indicating how to preview the form when gesture zooming.
    Syntax
    'Declaration
     
    
    Public Property ZoomPreviewMode As ZoomPreviewMode
    public ZoomPreviewMode ZoomPreviewMode {get; set;}

    Property Value

    One of the ZoomPreviewMode values. The default is ZoomPreviewMode.Bitmap
    Example

    The following code example shows how to use this property.

    This code example is part of a larger example provided for the C1Zoom class. Run the sample code, select the different value of ZoomPreviewMode ComboBox. Try to zoom and pan by touch to check the difference of different ZoomPreviewMode.

    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also