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

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

    Property Value

    A System.Single value that represents the maximum zoom factor of the form. The default is 4f.
    Exceptions
    ExceptionDescription
    The assigned value less than 1f or more than 4f.
    Example

    The following code example shows how to set the maxmum value of zoom factor.

    This code example is part of a larger example provided for the C1Zoom 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