GetBitmapResource Method (Element)
Gets a
System.Drawing.Bitmap from the application's embedded resources.
'Declaration
Public Shared Function GetBitmapResource( _
ByVal As String _
) As Bitmap
public static Bitmap GetBitmapResource(
string
)
Parameters
- name
- Name of the embedded resource that contains the bitmap.
Return Value
A
System.Drawing.Bitmap stored with the given name, or null if the image could not be found.