Class SelectionRecord
Shows the user's selection on the sheet for write set num refs to 0.
Inheritance
Namespace: Syncfusion.XlsIO.Parser.Biff_Records
Assembly: Syncfusion.XlsIO.UWP.dll
Syntax
[Biff]
public class SelectionRecord : BiffRecordRaw, IBiffStorage, ICloneable
Constructors
SelectionRecord()
Default constructor
Declaration
public SelectionRecord()
SelectionRecord(Int32)
Reserved for record's internal data array.
Declaration
public SelectionRecord(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. |
SelectionRecord(Stream, out Int32)
Read / initialize constructor.
Declaration
public SelectionRecord(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
Addr
List of ADDR structures.
Declaration
public SelectionRecord.TAddr[] Addr { get; set; }
Property Value
| Type |
|---|
| SelectionRecord.TAddr[] |
ColumnActiveCell
The active cell's column.
Declaration
public ushort ColumnActiveCell { get; set; }
Property Value
| Type |
|---|
| System.UInt16 |
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
NumRefs
The number of cell refs.
Declaration
public ushort NumRefs { get; }
Property Value
| Type |
|---|
| System.UInt16 |
Pane
The window pane for the record.
Declaration
public byte Pane { get; set; }
Property Value
| Type |
|---|
| System.Byte |
RefActiveCell
The active cell's reference number.
Declaration
public ushort RefActiveCell { get; set; }
Property Value
| Type |
|---|
| System.UInt16 |
RowActiveCell
The active cell's row.
Declaration
public ushort RowActiveCell { get; set; }
Property Value
| Type |
|---|
| System.UInt16 |
Methods
Clone()
Creates a new object that is a copy of the current instance.
Declaration
public object Clone()
Returns
| Type | Description |
|---|---|
| System.Object | A new object that is a copy of this instance. |
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
ParseStructure(DataProvider, Int32, Int32, ExcelVersion)
Parse structure of record. Converts data buffer to special values according to record specification.
Declaration
public override void ParseStructure(DataProvider provider, int iOffset, int iLength, ExcelVersion version)
Parameters
| Type | Name | Description |
|---|---|---|
| DataProvider | provider | Object that provides access to the data. |
| System.Int32 | iOffset | Offset to the record's data. |
| System.Int32 | iLength | Length of the record's data. |
| ExcelVersion | version | Excel version used for infill. |
Overrides
SetSelection(Int32, SelectionRecord.TAddr)
Sets selection range.
Declaration
public void SetSelection(int iIndex, SelectionRecord.TAddr addr)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | iIndex | Ref index. |
| SelectionRecord.TAddr | addr | Addr to set. |