Nevron.Examples.Framework.WinForm Namespace / NExampleUserControl Class / GetScaledBounds Method


In This Topic
    GetScaledBounds Method (NExampleUserControl)
    In This Topic
    Syntax
    'Declaration
     
    
    <System.ComponentModel.EditorBrowsableAttribute(EditorBrowsableState.Advanced)>
    Protected Overridable Function GetScaledBounds( _
       ByVal bounds As System.Drawing.Rectangle, _
       ByVal factor As System.Drawing.SizeF, _
       ByVal specified As System.Windows.Forms.BoundsSpecified _
    ) As System.Drawing.Rectangle
    'Usage
     
    
    Dim instance As NExampleUserControl
    Dim bounds As System.Drawing.Rectangle
    Dim factor As System.Drawing.SizeF
    Dim specified As System.Windows.Forms.BoundsSpecified
    Dim value As System.Drawing.Rectangle
     
    value = instance.GetScaledBounds(bounds, factor, specified)
    [System.ComponentModel.EditorBrowsable(EditorBrowsableState.Advanced)]
    protected virtual System.Drawing.Rectangle GetScaledBounds( 
       System.Drawing.Rectangle bounds,
       System.Drawing.SizeF factor,
       System.Windows.Forms.BoundsSpecified specified
    )

    Parameters

    bounds
    factor
    specified
    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