Class ArrayRecord
Summary description for ArrayRecord.
Inheritance
Inherited Members
Namespace: Syncfusion.XlsIO.Parser.Biff_Records
Assembly: Syncfusion.XlsIO.Base.dll
Syntax
[Biff(TBIFFRecord.Array)]
[CLSCompliant(false)]
public class ArrayRecord : BiffRecordRaw, IBiffStorage, ISharedFormula, ICloneable, IFormulaRecord
Constructors
ArrayRecord()
Default Constructor.
Declaration
public ArrayRecord()
ArrayRecord(Int32)
Reserved for the record's internal data array.
Declaration
public ArrayRecord(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. |
ArrayRecord(Stream, out Int32)
Read / initialize Constructor.
Declaration
public ArrayRecord(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 | When stream is not specified. |
System.ApplicationException | When stream does not support read or seek operations. |
Properties
Expression
Token array of the shared formula.
Declaration
public byte[] Expression { get; set; }
Property Value
Type | Description |
---|---|
System.Byte[] |
ExpressionLen
Read-only. Size of the formula data.
Declaration
public ushort ExpressionLen { get; }
Property Value
Type | Description |
---|---|
System.UInt16 |
FirstColumn
Index to first column of the array formula range. Zero-based.
Declaration
public int FirstColumn { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
FirstRow
Index to first row of the array formula range. Zero-based.
Declaration
public int FirstRow { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Formula
Declaration
public Ptg[] Formula { get; set; }
Property Value
Type | Description |
---|---|
Ptg[] |
IsRecalculateAlways
Indicates whether formula value should be always recalculated.
Declaration
public bool IsRecalculateAlways { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsRecalculateOnOpen
Indicates whether formula value should be recalculated when the file is opened.
Declaration
public bool IsRecalculateOnOpen { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
LastColumn
Index to last column of the array formula range. Zero-based.
Declaration
public int LastColumn { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
LastRow
Index to last row of the array formula range. Zero-based.
Declaration
public int LastRow { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
MinimumRecordSize
Read-only. Returns minimum possible size of record's internal data array.
Declaration
public override int MinimumRecordSize { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Overrides
Options
Option flags.
Declaration
public ushort Options { get; }
Property Value
Type | Description |
---|---|
System.UInt16 |
Reserved
Read-only. Reserved.
Declaration
public int Reserved { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
Clone()
Declaration
public object Clone()
Returns
Type | Description |
---|---|
System.Object |
Equals(Object)
Determines whether the specified Object is equal to the current Object.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj | The Object to compare with the current Object. |
Returns
Type | Description |
---|---|
System.Boolean | true if the specified Object is equal to the current Object; otherwise, false. |
Overrides
GetHashCode()
Serves as a hash function for a particular type.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | A hash code for the current Object. |
Overrides
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 | Description |
---|---|
System.Int32 |
Overrides
ParseDimensions(ISharedFormula, DataProvider, Int32, ExcelVersion)
Serializes area that is covered by array formula.
Declaration
public static int ParseDimensions(ISharedFormula shared, DataProvider provider, int iOffset, ExcelVersion version)
Parameters
Type | Name | Description |
---|---|---|
ISharedFormula | shared | Object that receives dimensions data. |
DataProvider | provider | Object that provides access to the data. |
System.Int32 | iOffset | Offset in the buffer. |
ExcelVersion | version | Excel version used for infill. |
Returns
Type | Description |
---|---|
System.Int32 | Updated offset. |
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
SerializeDimensions(ISharedFormula, DataProvider, Int32, ExcelVersion)
Serializes area that is covered by array formula.
Declaration
public static int SerializeDimensions(ISharedFormula shared, DataProvider provider, int iOffset, ExcelVersion version)
Parameters
Type | Name | Description |
---|---|---|
ISharedFormula | shared | Object that contains dimensions data. |
DataProvider | provider | Object that provides access to the data. |
System.Int32 | iOffset | Offset in the buffer. |
ExcelVersion | version | Excel version used for infill. |
Returns
Type | Description |
---|---|
System.Int32 | Updated offset. |