Class CustomPropertyRecord
Summary description for CustomPropertyRecord.
Inherited Members
Namespace: Syncfusion.XlsIO.Parser.Biff_Records
Assembly: Syncfusion.XlsIO.NET.dll
Syntax
[Biff(TBIFFRecord.CustomProperty)]
[CLSCompliant(false)]
public class CustomPropertyRecord : BiffRecordRaw, ICloneable, IBiffStorage
Constructors
CustomPropertyRecord()
Default constructor
Declaration
public CustomPropertyRecord()
CustomPropertyRecord(Stream, out int)
Read / initialize constructor.
Declaration
public CustomPropertyRecord(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. |
CustomPropertyRecord(int)
Reserved for record's internal data array.
Declaration
public CustomPropertyRecord(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
Name
Gets / sets property name.
Declaration
public string Name { get; set; }
Property Value
| Type |
|---|
| string |
Value
Gets / sets property value.
Declaration
public string Value { get; set; }
Property Value
| Type |
|---|
| string |
Methods
GetStoreSize(ExcelVersion)
Returns size of the required data array.
Declaration
public override int GetStoreSize(ExcelVersion version)
Parameters
| Type | Name | Description |
|---|---|---|
| ExcelVersion | version |
Returns
| Type | Description |
|---|---|
| int | Size of the required data array. |
Overrides
ParseStructure(DataProvider, int, int, 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. |
| int | iOffset | Offset to the record's data. |
| int | iLength | Length of the record's data. |
| ExcelVersion | version | Excel version used for infill. |