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

In This Topic
    ZoomSnapPoints Property (C1ApplicationZoom)
    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.

    See Also