Method GetImage
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
stringThe 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
intThe 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
Returns
- Image
The image with the specified name and size.