Nevron .NET Vision
Nevron.Diagram.WinForm Namespace / NDrawingView Class / StretchToHeight Method / StretchToHeight() Method


In This Topic
    StretchToHeight() Method
    In This Topic
    Proportionally scales the document so that its height is equal to the window height (preserves the document aspect ratio)
    Syntax
    'Declaration
     
    
    Public Overloads Overridable Function StretchToHeight() As System.Boolean
    'Usage
     
    
    Dim instance As NDrawingView
    Dim value As System.Boolean
     
    value = instance.StretchToHeight()
    public virtual System.bool StretchToHeight()
    Remarks
    This method is automatically called when the ViewLayout is set to StretchToHeight
    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