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

In This Topic
    ZoomFactor Property (C1Zoom)
    In This Topic
    Gets or sets the zoom factor of the form.
    Syntax
    'Declaration
     
    
    Public Property ZoomFactor As Single
    public float ZoomFactor {get; set;}

    Property Value

    A System.Single value that represents the zoom factor of the form.
    Exceptions
    ExceptionDescription
    The assigned value is greater than MaxZoomFactor or less than 1.
    Remarks

    The ZoomFactor's range is from 1 to MaxZoomFactor.

    If the AllowPinchZoom property is true the user can change the ZoomFactor with gesture.

    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.

    See Also