Table of Contents

Method GetImage

Namespace
Innova.Prism.Library.Extensions
Assembly
Innova.Prism.Library.dll

GetImage(MenuModel, Bitmap)

Gets the image for the menu task definition.

public static Image GetImage(this MenuModel menuTaskDefinition, Bitmap bitmap)

Parameters

menuTaskDefinition MenuModel

The menu task definition.

bitmap Bitmap

The bitmap to convert to an image source.

Returns

Image

The image control with the specified bitmap as the source.