Interface IBiffStorage
Summary description for IBiffStorage.
Namespace: Syncfusion.XlsIO.Parser.Biff_Records
Assembly: Syncfusion.XlsIO.NET.dll
Syntax
public interface IBiffStorage
Properties
NeedDataArray
Indicates whether data array is required by this record.
Declaration
bool NeedDataArray { get; }
Property Value
Type |
---|
System.Boolean |
RecordCode
Returns code of the biff storage. Read-only.
Declaration
int RecordCode { get; }
Property Value
Type |
---|
System.Int32 |
StreamPos
Indicates record position in stream. This is a utility member of class and is used only in the serialization process. Does not influence the data.
Declaration
long StreamPos { get; set; }
Property Value
Type |
---|
System.Int64 |
TypeCode
Returns type code of the biff storage. Read-only.
Declaration
TBIFFRecord TypeCode { get; }
Property Value
Type |
---|
TBIFFRecord |
Methods
FillStream(BinaryWriter, DataProvider, IEncryptor, Int32)
Save record data to stream.
Declaration
int FillStream(BinaryWriter writer, DataProvider provider, IEncryptor encryptor, int streamPosition)
Parameters
Type | Name | Description |
---|---|---|
System.IO.BinaryWriter | writer | Writer that will receive record data. |
DataProvider | provider | Object that provides access to the data. |
IEncryptor | encryptor | Object to encrypt data. |
System.Int32 | streamPosition | Position in the output stream. Used to increase performance. |
Returns
Type | Description |
---|---|
System.Int32 | Size of the record. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | If writer is NULL. |
System.ApplicationException | If m_iLength of internal record data array is less than zero. |
GetStoreSize(ExcelVersion)
Size of the required storage space. Read-only.
Declaration
int GetStoreSize(ExcelVersion version)
Parameters
Type | Name | Description |
---|---|---|
ExcelVersion | version |
Returns
Type |
---|
System.Int32 |