Class RStringRecord
This record stores a formatted text cell (Rich-Text). In BIFF8 it is replaced by the LABELSST record. Nevertheless, Excel uses this record if it copies formatted text cells to the clipboard.
Inherited Members
Namespace: Syncfusion.XlsIO.Parser.Biff_Records
Assembly: Syncfusion.XlsIO.NET.dll
Syntax
[Biff(TBIFFRecord.RString)]
[CLSCompliant(false)]
public class RStringRecord : BiffRecordRawWithArray, ICloneable, IBiffStorage, IDisposable, ICellPositionFormat, IStringValue
Constructors
RStringRecord()
Default constructor fills all data with default values.
Declaration
public RStringRecord()
RStringRecord(Stream, out int)
Read / initialize constructor.
Declaration
public RStringRecord(Stream stream, out int itemSize)
Parameters
| Type | Name | Description |
|---|---|---|
| Stream | stream | Stream from which record data should be read. |
| int | itemSize | Size of read item. |
Exceptions
| Type | Condition |
|---|---|
| ArgumentNullException | If stream is not specified. |
| ApplicationException | If stream does not support read or seek operations. |
RStringRecord(int)
Reserved for record's internal data array.
Declaration
public RStringRecord(int iReserve)
Parameters
| Type | Name | Description |
|---|---|---|
| int | iReserve | Amount of bytes for data array. |
Exceptions
| Type | Condition |
|---|---|
| ArgumentOutOfRangeException | If amount of bytes requested is less than zero. |
Properties
Column
Index to column.
Declaration
public int Column { get; set; }
Property Value
| Type |
|---|
| int |
ExtendedFormatIndex
Index to XF (Extended Format) record.
Declaration
public ushort ExtendedFormatIndex { get; set; }
Property Value
| Type |
|---|
| ushort |
FormattingRun
Array of formatting runs.
Declaration
public RStringRecord.TFormattingRun[] FormattingRun { get; set; }
Property Value
| Type |
|---|
| TFormattingRun[] |
MinimumRecordSize
Read-only. Returns minimum possible size of record's internal data array.
Declaration
public override int MinimumRecordSize { get; }
Property Value
| Type |
|---|
| int |
Overrides
Row
Index to row.
Declaration
public int Row { get; set; }
Property Value
| Type |
|---|
| int |
Value
Unformatted Unicode string, 16-bit string length.
Declaration
public string Value { get; set; }
Property Value
| Type |
|---|
| string |
Methods
ParseStructure()
Parse structure of record. Converts data buffer to special values according to record specification.
Declaration
public override void ParseStructure()