SpreadsheetImageSource.FromFile(String) Method
Creates an image source object from the specified file.
Namespace: DevExpress.Spreadsheet
Assembly: DevExpress.Spreadsheet.v24.2.Core.dll
NuGet Package: DevExpress.Spreadsheet.Core
#Declaration
[ComVisible(false)]
public static SpreadsheetImageSource FromFile(
string fileName
)
#Parameters
Name | Type | Description |
---|---|---|
file |
String | A string that contains the path to a file from which to create the image. |
#Returns
Type | Description |
---|---|
Spreadsheet |
A Spreadsheet |
#Remarks
Note
When you use the From
If you require releasing the file while the program is running, you can use the Spreadsheet