Nevron .NET Vision
Nevron.Diagram.WebForm Namespace / NDrawingView Class / SizeToContent Method / SizeToContent(NSizeF,NMargins) Method
Minimal new document bounds
Padding applied to document content


In This Topic
    SizeToContent(NSizeF,NMargins) Method
    In This Topic
    Resizes the drawing view to fit the document content
    Syntax
    'Declaration
     
    
    Public Overloads Sub SizeToContent( _
       ByVal minSize As NSizeF, _
       ByVal padding As NMargins _
    ) 
    'Usage
     
    
    Dim instance As NDrawingView
    Dim minSize As NSizeF
    Dim padding As NMargins
     
    instance.SizeToContent(minSize, padding)
    public void SizeToContent( 
       NSizeF minSize,
       NMargins padding
    )

    Parameters

    minSize
    Minimal new document bounds
    padding
    Padding applied to document content
    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