xtd 0.2.0
Loading...
Searching...
No Matches

◆ from_name() [4/4]

static xtd::drawing::image xtd::forms::images::from_name ( const xtd::ustring theme,
const xtd::ustring name,
const xtd::drawing::size size 
)
static

Gets image object with specified theme, name and size.

Parameters
themethe theme name that contains the image to get.
namethe image name to get.
sizeThe size that represents the height and width of the button images in pixels.
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.