[]
        
(Showing Draft Content)

C1.Win.Themes.C1Theme.GetImage

GetImage Method

GetImage(string)

Gets an image specified by a path.

Declaration
public Image GetImage(string path)
Public Function GetImage(path As String) As Image
Parameters
Type Name Description
string path

The target path.

Returns
Type Description
Image

The image specified by path, or null.

GetImage(string, Image)

Gets an image specified by a path.

Declaration
public Image GetImage(string path, Image defaultValue)
Public Function GetImage(path As String, defaultValue As Image) As Image
Parameters
Type Name Description
string path

The target path.

Image defaultValue

Used if value at specified path does not exist.

Returns
Type Description
Image

The image specified by path or if image at specified path does not exist.