Class LabelRangesRecord
This record contains the addresses of all row and column label ranges in the current sheet.
Inheritance
Inherited Members
Namespace: Syncfusion.XlsIO.Parser.Biff_Records
Assembly: Syncfusion.XlsIO.Portable.dll
Syntax
[Biff]
public class LabelRangesRecord : BiffRecordRawWithArray, ICloneable, IBiffStorage, IDisposable
Constructors
LabelRangesRecord()
Default constructor
Declaration
public LabelRangesRecord()
LabelRangesRecord(Int32)
Reserved for record's internal data array.
Declaration
public LabelRangesRecord(int iReserve)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | iReserve | Amount of bytes for data array. |
Exceptions
Type | Condition |
---|---|
System.ArgumentOutOfRangeException | If amount of bytes requested is less than zero. |
LabelRangesRecord(Stream, out Int32)
Read / initialize constructor.
Declaration
public LabelRangesRecord(Stream stream, out int itemSize)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | stream | Stream from which record data should be read. |
System.Int32 | itemSize | Size of read item. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | If stream is not specified. |
System.ApplicationException | If stream does not support read or seek operations. |
Properties
ColRanges
Cell range address list with all column label ranges.
Declaration
public TAddr[] ColRanges { get; set; }
Property Value
Type |
---|
TAddr[] |
ColRangesCount
Read-only. Number of ranges in column ranges array.
Declaration
public ushort ColRangesCount { get; }
Property Value
Type |
---|
System.UInt16 |
MinimumRecordSize
Read-only. Minimum possible size of the record.
Declaration
public override int MinimumRecordSize { get; }
Property Value
Type |
---|
System.Int32 |
Overrides
RowRanges
Cell range address list with all row label ranges.
Declaration
public TAddr[] RowRanges { get; set; }
Property Value
Type |
---|
TAddr[] |
RowRangesCount
Read-only. Number of ranges in row ranges array.
Declaration
public ushort RowRangesCount { get; }
Property Value
Type |
---|
System.UInt16 |
Methods
ParseStructure()
Parse structure of record. Converts data buffer to special values according to record specification.
Declaration
public override void ParseStructure()
Overrides
Exceptions
Type | Condition |
---|---|
WrongBiffRecordDataException | If last byte of the parsed data won't be the last byte of read data. |