ImageStretcher.StretchImageToControl Method

Namespace: Microsoft.WindowsServerSolutions.Common
Assembly: AdminCommon (in AdminCommon.dll)

Usage

'Usage
Dim icon As Icon
Dim pb As Control
Dim returnValue As Bitmap

returnValue = ImageStretcher.StretchImageToControl(icon, pb)

Syntax

'Declaration
Public Shared Function StretchImageToControl ( _
    icon As Icon, _
    pb As Control _
) As Bitmap
public static Bitmap StretchImageToControl (
    Icon icon,
    Control pb
)
public:
static Bitmap^ StretchImageToControl (
    Icon^ icon, 
    Control^ pb
)
public static Bitmap StretchImageToControl (
    Icon icon, 
    Control pb
)
public static function StretchImageToControl (
    icon : Icon, 
    pb : Control
) : Bitmap

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2008 R2 x64, Windows 7 x64, Windows Server 2008 x64, Windows Vista x64

See Also

Reference

ImageStretcher Class
ImageStretcher Members
Microsoft.WindowsServerSolutions.Common Namespace

Copyright © 2013 by Microsoft Corporation. All rights reserved.