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

In This Topic
    ZoomSnapDistance Property (C1Zoom)
    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.

    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