Nevron .NET Vision
Nevron.Diagram.WinForm Namespace / NDrawingView Class / Fit Method / Fit(NRectangleF) Method
bounds in scene coordinates

In This Topic
    Fit(NRectangleF) Method
    In This Topic
    Fits the specified scene bounds inside the window (preserves the aspect ratio)
    Public Overloads Overridable Function Fit( _
       ByVal sceneBounds As NRectangleF _
    ) As System.Boolean
    Dim instance As NDrawingView
    Dim sceneBounds As NRectangleF
    Dim value As System.Boolean
    value = instance.Fit(sceneBounds)
    public virtual System.bool Fit( 
       NRectangleF sceneBounds


    bounds in scene coordinates

    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