SpreadsheetControl.LoadDocument(Byte[]) Method
In This Article
Loads the document from a Byte[] array.
Namespace: DevExpress.Xpf.Spreadsheet
Assembly: DevExpress.Xpf.Spreadsheet.v24.2.dll
NuGet Package: DevExpress.Wpf.Spreadsheet
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
buffer | Byte[] | A System. |
#Returns
Type | Description |
---|---|
Boolean | true, if the document is loaded successfully; otherwise, false. |
#Remarks
The format of the document loaded using this LoadDocument method overload is detected automatically by the built-in IFormatDetectorService implementation. If the format detection fails, an ISpreadsheetComponent.InvalidFormatException is raised.
See Also