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

In This Topic
    GetImageResource Method (Element)
    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