Back to Image
LoadFromFileMethod
Definition
- Namespace
- DOM.Elements.Graphics
- Assembly
- DOM.dll
Loads image data from a file into this instance.
LoadFromFile(string imagePath)Parameters
- imagePath
- Path to the image file.
Exceptions
- System.IO.FileNotFoundException: Thrown when the file does not exist.
- System.Exception: Thrown when the image cannot be decoded.