Nevron.UI Namespace / NResourceHelper Class / ImageListFromBitmap Method / ImageListFromBitmap(Bitmap,Size,Color) Method


In This Topic
    ImageListFromBitmap(Bitmap,Size,Color) Method
    In This Topic
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function ImageListFromBitmap( _
       ByVal bitmap As System.Drawing.Bitmap, _
       ByVal imageSize As System.Drawing.Size, _
       ByVal transparency As System.Drawing.Color _
    ) As System.Windows.Forms.ImageList
    'Usage
     
    
    Dim bitmap As System.Drawing.Bitmap
    Dim imageSize As System.Drawing.Size
    Dim transparency As System.Drawing.Color
    Dim value As System.Windows.Forms.ImageList
     
    value = NResourceHelper.ImageListFromBitmap(bitmap, imageSize, transparency)
    public static System.Windows.Forms.ImageList ImageListFromBitmap( 
       System.Drawing.Bitmap bitmap,
       System.Drawing.Size imageSize,
       System.Drawing.Color transparency
    )

    Parameters

    bitmap
    imageSize
    transparency
    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