Method FromFile
FromFile(string)
Creates an image from the specified file.
public static XImage FromFile(string path)
Parameters
pathstringThe path to a BMP, PNG, JPEG, or PDF file.
Creates an image from the specified file.
public static XImage FromFile(string path)
path stringThe path to a BMP, PNG, JPEG, or PDF file.