Version

GetResizeRange(ILayoutContainer,Object,ILayoutItem,Double,Double,Double,Double) Method

Gets the resize range of an item.
Syntax
'Declaration
 
Public Overloads Sub GetResizeRange( _
   ByVal layoutContainer As ILayoutContainer, _
   ByVal containerContext As Object, _
   ByVal resizeItem As ILayoutItem, _
   ByRef maxDeltaLeft As Double, _
   ByRef maxDeltaRight As Double, _
   ByRef maxDeltaTop As Double, _
   ByRef maxDeltaBottom As Double _
) 
public void GetResizeRange( 
   ILayoutContainer layoutContainer,
   object containerContext,
   ILayoutItem resizeItem,
   out double maxDeltaLeft,
   out double maxDeltaRight,
   out double maxDeltaTop,
   out double maxDeltaBottom
)

Parameters

layoutContainer
Layout container. Used for getting the layout area rect, which is used when auto-fitting the layout in in an area that's different than the preferred size of the layout.
containerContext
Not used by the layout manager directly. It gets passed along to methods on the layout container.
resizeItem
Item being resized.
maxDeltaLeft
This will be set to how much smaller the item can be resized left of its right edge.
maxDeltaRight
This will be set to how much larger the item can be resized right of its right edge.
maxDeltaTop
This will be set to how much smaller the item can be resized above its bottom edge.
maxDeltaBottom
This will be set to how much larger the item can be resized below its bottom edge.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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