TouchToolKit for WinForms | ComponentOne
C1.Win.TouchToolKit Namespace / C1ApplicationZoom Class / ZoomSnapDistance Property
Example

In This Topic
    ZoomSnapDistance Property (C1ApplicationZoom)
    In This Topic
    Gets or sets a value indicate the minimum distance that can cause current zoom factor snap to a zoom factor in ZoomSnapPoints.
    Syntax
    'Declaration
     
    
    Public Property ZoomSnapDistance As Single
    public float ZoomSnapDistance {get; set;}

    Property Value

    A System.Single value that represents the minimum distance that can cause current zoom factor snap to a zoom factor in ZoomSnapPoints.
    Remarks
    This property only take effect when ZoomPreviewMode property value is ZoomPreviewMode.Bitmap and ZoomPreviewMode.AlternativeContent.
    Example

    The following code example shows how to use this property.

    See Also