Nevron .NET Vision
Nevron.UI.WinForm Namespace / NStickyObjectManager Class / GetBounds Method
The proposed bounds.


In This Topic
    GetBounds Method (NStickyObjectManager)
    In This Topic
    Gets the bounds (in screen coordinates) which eventually might be sticked to some Form's edge.
    Syntax
    'Declaration
     
    
    Public Function GetBounds( _
       ByVal instanceToSkip As System.Object, _
       ByVal proposedBounds As System.Drawing.Rectangle _
    ) As System.Drawing.Rectangle
    'Usage
     
    
    Dim instance As NStickyObjectManager
    Dim instanceToSkip As System.Object
    Dim proposedBounds As System.Drawing.Rectangle
    Dim value As System.Drawing.Rectangle
     
    value = instance.GetBounds(instanceToSkip, proposedBounds)
    public System.Drawing.Rectangle GetBounds( 
       System.object instanceToSkip,
       System.Drawing.Rectangle proposedBounds
    )

    Parameters

    instanceToSkip
    proposedBounds
    The proposed bounds.

    Return Value

    The newly calculated bounds. May equal the proposed one.
    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