Overloads
AddImage(IImage image)
Adds an existing instance to this container. IImage
AddImage(Stream imageStream)
Creates an from a stream and adds it to this container. Image
AddImage(string imagePath)
Creates an from a file path and adds it to this container. Image
AddImage(IImage image)
AddImage(IImage image)Adds an existing instance to this container. IImage
Parameters
- image
- The image instance to add.
Returns
The same instance that was added. image
AddImage(Stream imageStream)
IImage AddImage(Stream imageStream)Creates an from a stream and adds it to this container. Image
Parameters
- imageStream
- Stream containing image data. The caller is responsible for keeping the stream valid while the image is being read.
AddImage(string imagePath)
IImage AddImage(string imagePath)Creates an from a file path and adds it to this container. Image
Parameters
- imagePath
- Path to the image file to load.