menu

Xamarin.Forms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class NumberRecord - Xamarin.Forms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class NumberRecord

    Represents a cell that contains a floating-point value.

    Inheritance
    System.Object
    Syncfusion.XlsIO.Parser.Biff_Records.BiffRecordRaw
    CellPositionBase
    NumberRecord
    Implements
    System.ICloneable
    IBiffStorage
    ICellPositionFormat
    IDoubleValue
    IValueHolder
    Inherited Members
    CellPositionBase.Column
    CellPositionBase.ExtendedFormatIndex
    CellPositionBase.m_iColumn
    CellPositionBase.m_iRow
    CellPositionBase.m_usExtendedFormat
    CellPositionBase.ParseStructure(DataProvider, Int32, Int32, ExcelVersion)
    CellPositionBase.Row
    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
    Syncfusion.XlsIO.Parser.Biff_Records.BiffRecordRaw.MaximumMemorySize

    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
    Syncfusion.XlsIO.Parser.Biff_Records.BiffRecordRaw.MaximumRecordSize

    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
    Syncfusion.XlsIO.Parser.Biff_Records.BiffRecordRaw.MinimumRecordSize

    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
    CellPositionBase.GetStoreSize(ExcelVersion)

    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
    CellPositionBase.InfillCellData(DataProvider, Int32, ExcelVersion)

    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
    CellPositionBase.ParseCellData(DataProvider, Int32, ExcelVersion)

    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

    Implements

    System.ICloneable
    IBiffStorage
    ICellPositionFormat
    IDoubleValue
    IValueHolder
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved