[]
        
(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)
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)
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.