DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / DicomViewer Class / GetScaledBounds Method






In This Topic
    GetScaledBounds Method (DicomViewer)
    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 DicomViewer
    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
    )
    protected function GetScaledBounds( 
        bounds: System.Drawing.Rectangle;
        factor: System.Drawing.SizeF;
        specified: System.Windows.Forms.BoundsSpecified
    ): System.Drawing.Rectangle; virtual; 
    System.ComponentModel.EditorBrowsableAttribute(EditorBrowsableState.Advanced)
    protected function GetScaledBounds( 
       bounds : System.Drawing.Rectangle,
       factor : System.Drawing.SizeF,
       specified : System.Windows.Forms.BoundsSpecified
    ) : System.Drawing.Rectangle;
    [System.ComponentModel.EditorBrowsable(EditorBrowsableState.Advanced)]
    protected: virtual System.Drawing.Rectangle GetScaledBounds( 
       System.Drawing.Rectangle bounds,
       System.Drawing.SizeF factor,
       System.Windows.Forms.BoundsSpecified 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: .NET CLR 4.8 or higher

    See Also