Table of Contents

Method GetImage

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

GetImage<EntityType>()

Gets an image for the specified entity type.

public static Image GetImage<EntityType>()

Returns

Image

The image associated with the entity type.

Type Parameters

EntityType

The type of the entity.

GetImage(string)

Gets an image by its name.

public static Image GetImage(string imageName)

Parameters

imageName string

The name of the image.

Returns

Image

The image with the specified name.

GetImage<EntityType>(int)

Gets an image for the specified entity type and size.

public static Image GetImage<EntityType>(int size)

Parameters

size int

The size of the image.

Returns

Image

The image associated with the entity type and size.

Type Parameters

EntityType

The type of the entity.

GetImage(string, int)

Gets an image by its name and size.

public static Image GetImage(string imageName, int size)

Parameters

imageName string

The name of the image.

size int

The size of the image.

Returns

Image

The image with the specified name and size.