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

In This Topic
    ZoomFactor Property (C1MultiScaleImage)
    In This Topic
    Gets or sets the zoom factor of the control.
    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 control. The default is 1f.
    Exceptions
    ExceptionDescription
    The assigned value is less than 1.
    Example

    The following code example shows how to use this property.

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

    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