Nevron Open Vision Documentation
Nevron.Nov.WinFormControls Namespace / NPanAndZoomViewControl Class / ApplyBoundsConstraints Method


In This Topic
    ApplyBoundsConstraints Method (NPanAndZoomViewControl)
    In This Topic
    Syntax
    'Declaration
     
    
    Friend Overridable Function ApplyBoundsConstraints( _
       ByVal suggestedX As System.Integer, _
       ByVal suggestedY As System.Integer, _
       ByVal proposedWidth As System.Integer, _
       ByVal proposedHeight As System.Integer _
    ) As System.Drawing.Rectangle
    'Usage
     
    
    Dim instance As NPanAndZoomViewControl
    Dim suggestedX As System.Integer
    Dim suggestedY As System.Integer
    Dim proposedWidth As System.Integer
    Dim proposedHeight As System.Integer
    Dim value As System.Drawing.Rectangle
     
    value = instance.ApplyBoundsConstraints(suggestedX, suggestedY, proposedWidth, proposedHeight)
    internal virtual System.Drawing.Rectangle ApplyBoundsConstraints( 
       System.int suggestedX,
       System.int suggestedY,
       System.int proposedWidth,
       System.int proposedHeight
    )

    Parameters

    suggestedX
    suggestedY
    proposedWidth
    proposedHeight
    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