ISpreadsheetComponent.LoadDocument(Byte[], DocumentFormat) Method
In This Article
Loads a document from a byte array.
Namespace: DevExpress.Spreadsheet
Assembly: DevExpress.Spreadsheet.v24.2.Core.dll
NuGet Package: DevExpress.Spreadsheet.Core
#Declaration
bool LoadDocument(
byte[] buffer,
DocumentFormat format
)
#Parameters
Name | Type | Description |
---|---|---|
buffer | Byte[] | A Byte[] object that is an array of bytes containing document data in the specified format. |
format | Document |
A Document |
#Returns
Type | Description |
---|---|
Boolean | true, if the document is successfully loaded; otherwise, false. |
#Remarks
Note
With the format method parameter passed as Document
See Also