Nevron Open Vision Documentation
Nevron.Nov.Layout Namespace / NFlexBoxLayout Class / SetShrink Method
The shrink factor for the node. Should be greater than or equal to 0. By default set to 0, which means that the node will not shrink.


In This Topic
    SetShrink Method
    In This Topic
    Sets the value of the ShrinkPropertyEx for the specified node.
    Syntax
    'Declaration
     
    
    Public Shared Sub SetShrink( _
       ByVal node As NNode, _
       ByVal shrink As System.Double _
    ) 
    'Usage
     
    
    Dim node As NNode
    Dim shrink As System.Double
     
    NFlexBoxLayout.SetShrink(node, shrink)
    public static void SetShrink( 
       NNode node,
       System.double shrink
    )

    Parameters

    node
    shrink
    The shrink factor for the node. Should be greater than or equal to 0. By default set to 0, which means that the node will not shrink.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also