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

In This Topic
    ZoomFactor Property (ImageItem)
    In This Topic
    Gets or sets a value indicate how much the C1MultiScaleImage.ZoomFactor is to display Image.
    Syntax
    'Declaration
     
    
    Public Property ZoomFactor As Single
    public float ZoomFactor {get; set;}

    Property Value

    A System.Single value that indicate how much the C1MultiScaleImage.ZoomFactor is to display Image. The default is 2f.
    Exceptions
    ExceptionDescription
    The assigned value is less than or equal to 1.
    Example

    The following code example shows how to use this property.

    This code example is part of a larger example provided for the ImageItem class.

    See Also