Nevron.UI.WinForm.Controls Namespace / NBitmapHelper Class / FromResource Method


In This Topic
    FromResource Method
    In This Topic
    Syntax
    'Declaration
     
    
    Public Shared Function FromResource( _
       ByVal t As System.Type, _
       ByVal resourceName As System.String _
    ) As System.Drawing.Bitmap
    'Usage
     
    
    Dim t As System.Type
    Dim resourceName As System.String
    Dim value As System.Drawing.Bitmap
     
    value = NBitmapHelper.FromResource(t, resourceName)
    public static System.Drawing.Bitmap FromResource( 
       System.Type t,
       System.string resourceName
    )

    Parameters

    t
    resourceName
    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