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

◆ from_name() [3/4]

static xtd::drawing::image xtd::forms::button_images::from_name ( const xtd::ustring name,
const xtd::drawing::size size 
)
inlinestatic

Gets image object with specified name and size.

Parameters
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.