Smrf.NodeXL.Visualization.Wpf.GraphImageScaler.PinScale C# (CSharp) Method

PinScale() protected method

protected PinScale ( Double dScale ) : Double
dScale Double
return Double
    PinScale
    (
        Double dScale
    )
    {
        AssertValid();

        dScale = Math.Max(dScale, NodeXLControl.MinimumGraphScale);
        dScale = Math.Min(dScale, NodeXLControl.MaximumGraphScale);

        return (dScale);
    }