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

In This Topic
    ZoomSnapPoints Property (C1Zoom)
    In This Topic
    Gets a group of zoom factor, when zoom ending, the result zoom factor will try to snap to a zoom factor in this group.
    Syntax
    'Declaration
     
    
    Public ReadOnly Property ZoomSnapPoints As List(Of Single)
    public List<float> ZoomSnapPoints {get;}

    Property Value

    A System.Single value list that represents a group of zoom factor, when zoom ending, the result zoom factor will try to snap to a zoom factor in this group.
    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