Class LabelRecord
This record represents a cell that contains a string. In BIFF8, it is replaced by the LABELSST record. Nevertheless, Excel can import a LABEL record contained in a BIFF8 file.
Inheritance
Inherited Members
Namespace: Syncfusion.XlsIO.Parser.Biff_Records
Assembly: Syncfusion.XlsIO.NET.dll
Syntax
[Biff]
public class LabelRecord : CellPositionBase, ICloneable, IBiffStorage, ICellPositionFormat, IStringValue, IValueHolder
Constructors
LabelRecord()
Default constructor
Declaration
public LabelRecord()
Properties
Label
Label - Unicode string
Declaration
public string Label { get; set; }
Property Value
Type |
---|
System.String |
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
Value of the record.
Declaration
public object Value { get; set; }
Property Value
Type |
---|
System.Object |
Methods
GetStoreSize(ExcelVersion)
Size of the required storage space. Read-only.
Declaration
public override int GetStoreSize(ExcelVersion version)
Parameters
Type | Name | Description |
---|---|---|
ExcelVersion | version |
Returns
Type |
---|
System.Int32 |
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
Explicit Interface Implementations
IStringValue.StringValue
Returns string value. Read-only.
Declaration
string IStringValue.StringValue { get; }
Returns
Type |
---|
System.String |