Input for WinForms | ComponentOne
C1.Framework Namespace / Element Class / GetImageResource Method
Name of the embedded resource that contains the image.

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

    Parameters

    name
    Name of the embedded resource that contains the image.

    Return Value

    An System.Drawing.Image stored with the given name, or null if the image could not be found.
    See Also