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
EntityTypeThe type of the entity.
GetImage(string)
Gets an image by its name.
public static Image GetImage(string imageName)
Parameters
imageNamestringThe 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
sizeintThe size of the image.
Returns
- Image
The image associated with the entity type and size.
Type Parameters
EntityTypeThe 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.