.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+
Row

ISpreadsheetComponent.LoadDocument(Byte[]) Method

Loads the document from a Byte[] array.

Namespace: DevExpress.Spreadsheet

Assembly: DevExpress.Spreadsheet.v19.2.Core.dll

Declaration

bool LoadDocument(
    byte[] buffer
)
Function LoadDocument(
    buffer As Byte()
) As Boolean
bool LoadDocument(
    byte[] buffer
)
Function LoadDocument(
    buffer As Byte()
) As Boolean
bool LoadDocument(
    byte[] buffer
)
Function LoadDocument(
    buffer As Byte()
) As Boolean

Parameters

Name Type Description
buffer Byte[]

A System.Byte[] object that is an array of bytes containing document data.

Parameters

Name Type Description
buffer Byte[]

A System.Byte[] object that is an array of bytes containing document data.

Parameters

Name Type Description
buffer Byte[]

A System.Byte[] object that is an array of bytes containing document data.

Returns

Type Description
Boolean

true, if the document is loaded successfully; otherwise, false.

Returns

Type Description
Boolean

true, if the document is loaded successfully; otherwise, false.

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