Nevron .NET Vision
Nevron.Diagram.WinForm Namespace / NDrawingView Class / IsValidScaleFactor Method
scale factor


In This Topic
    IsValidScaleFactor Method (NDrawingView)
    In This Topic
    Determines whether the specified scale factor is valid
    Syntax
    'Declaration
     
    
    Public Overridable Function IsValidScaleFactor( _
       ByVal scaleFactor As System.Single _
    ) As System.Boolean
    'Usage
     
    
    Dim instance As NDrawingView
    Dim scaleFactor As System.Single
    Dim value As System.Boolean
     
    value = instance.IsValidScaleFactor(scaleFactor)
    public virtual System.bool IsValidScaleFactor( 
       System.float scaleFactor
    )

    Parameters

    scaleFactor
    scale factor

    Return Value

    true if the scale factor is valid, otherwise false
    Remarks
    This method takes into account the document settings MinZoomFactor and MaxZoomFactor properties.
    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