Nevron .NET Vision
Nevron.Diagram Namespace / NDrawingDocument Class / ComputeNewBounds Method
auto bounds mode to use
padding applied to document content
min allowed document size
filter used to filter the nodes which are considered in the operation
custom bounds to use in case the mode parameter is set to CustomConstrained or CustomNonConstrained


In This Topic
    ComputeNewBounds Method (NDrawingDocument)
    In This Topic
    Called by the auto bounds implementation in order to compute new bounds
    Syntax
    'Declaration
     
    
    Protected Overridable Function ComputeNewBounds( _
       ByVal mode As AutoBoundsMode, _
       ByVal padding As NMargins, _
       ByVal minSize As NSizeF, _
       ByVal filter As NFilter, _
       ByVal customBounds As NRectangleF _
    ) As NRectangleF
    'Usage
     
    
    Dim instance As NDrawingDocument
    Dim mode As AutoBoundsMode
    Dim padding As NMargins
    Dim minSize As NSizeF
    Dim filter As NFilter
    Dim customBounds As NRectangleF
    Dim value As NRectangleF
     
    value = instance.ComputeNewBounds(mode, padding, minSize, filter, customBounds)

    Parameters

    mode
    auto bounds mode to use
    padding
    padding applied to document content
    minSize
    min allowed document size
    filter
    filter used to filter the nodes which are considered in the operation
    customBounds
    custom bounds to use in case the mode parameter is set to CustomConstrained or CustomNonConstrained
    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