Ribbon for WinForms | ComponentOne
C1.Framework Namespace / Element Class / GetBitmapResource Method
Name of the embedded resource that contains the bitmap.

In This Topic
    GetBitmapResource Method (Element)
    In This Topic
    Gets a System.Drawing.Bitmap from the application's embedded resources.
    Syntax
    'Declaration
     
    
    Public Shared Function GetBitmapResource( _
       ByVal name As String _
    ) As Bitmap
    public static Bitmap GetBitmapResource( 
       string name
    )

    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.
    See Also