Class NumberRecord
Represents a cell that contains a floating-point value.
Inheritance
Inherited Members
Namespace: Syncfusion.XlsIO.Parser.Biff_Records
Assembly: Syncfusion.XlsIO.Portable.dll
Syntax
[Biff]
public class NumberRecord : CellPositionBase, ICloneable, IBiffStorage, ICellPositionFormat, IDoubleValue, IValueHolder
Constructors
NumberRecord()
Default constructor
Declaration
public NumberRecord()
Properties
DoubleValue
Returns double value. Read-only.
Declaration
public double DoubleValue { get; }
Property Value
Type |
---|
System.Double |
MaximumMemorySize
Declaration
public override int MaximumMemorySize { get; }
Property Value
Type |
---|
System.Int32 |
Overrides
MaximumRecordSize
Read-only. Returns maximum possible size of record's internal data array.
Declaration
public override int MaximumRecordSize { get; }
Property Value
Type |
---|
System.Int32 |
Overrides
MinimumRecordSize
Read-only. Returns minimum possible size of record's internal data array.
Declaration
public override int MinimumRecordSize { get; }
Property Value
Type |
---|
System.Int32 |
Overrides
Value
IEEE floating-point value.
Declaration
public double Value { get; set; }
Property Value
Type |
---|
System.Double |
Methods
GetStoreSize(ExcelVersion)
Returns size of the required storage space.
Declaration
public override int GetStoreSize(ExcelVersion version)
Parameters
Type | Name | Description |
---|---|---|
ExcelVersion | version | Excel version. |
Returns
Type | Description |
---|---|
System.Int32 | Size of the required storage space. |
Overrides
InfillCellData(DataProvider, Int32, ExcelVersion)
In this method, class must pack all of its properties into an internal data array, m_data. This method is called by FillStream, when the record must be serialized into a stream.
Declaration
protected override void InfillCellData(DataProvider provider, int iOffset, ExcelVersion version)
Parameters
Type | Name | Description |
---|---|---|
DataProvider | provider | Object that provides access to the data. |
System.Int32 | iOffset | Offset to the record's data. |
ExcelVersion | version | Excel version used to fill data. |
Overrides
ParseCellData(DataProvider, Int32, ExcelVersion)
Parse structure of record. Convert Data buffer to special values according to record specification.
Declaration
protected override void ParseCellData(DataProvider provider, int iOffset, ExcelVersion version)
Parameters
Type | Name | Description |
---|---|---|
DataProvider | provider | Object that provides access to the data. |
System.Int32 | iOffset | Offset to the record's data. |
ExcelVersion | version | Excel version used to fill data. |
Overrides
ReadValue(DataProvider, Int32, ExcelVersion)
Reads record's value from the data provider.
Declaration
public static double ReadValue(DataProvider provider, int recordStart, ExcelVersion version)
Parameters
Type | Name | Description |
---|---|---|
DataProvider | provider | Provider to read data from. |
System.Int32 | recordStart | Offset to the record's start. |
ExcelVersion | version | Excel version that was used to infill. |
Returns
Type | Description |
---|---|
System.Double | Record's value. |
Explicit Interface Implementations
IValueHolder.Value
Value of the record.
Declaration
object IValueHolder.Value { get; set; }
Returns
Type |
---|
System.Object |