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

In This Topic
    StretchToHeight(NRectangleF) Method
    In This Topic
    Proportionally scales the specified scene bounds so that its height is equal to the window height (preserves the aspect ratio)
    Public Overloads Overridable Function StretchToHeight( _
       ByVal sceneBounds As NRectangleF _
    ) As System.Boolean
    Dim instance As NDrawingView
    Dim sceneBounds As NRectangleF
    Dim value As System.Boolean
    value = instance.StretchToHeight(sceneBounds)
    public virtual System.bool StretchToHeight( 
       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