xtd 0.2.0

◆ from_name() [2/4]

static xtd::drawing::image xtd::forms::images::from_name ( const xtd::string theme,
const xtd::string name 
)
inlinestatic

Gets image object with specified theme and name.

Parameters
themethe theme name that contains the image to get.
namethe image name to get.
Returns
A xtd::drawing::image that represent the specified name.
Remarks
Use xtd::drawing::system_images::themes to get valid themes.
Use xtd::drawing::system_images::context_names to get valid names by context.