Class IntPtrContinueRecordBuilder
Summary description for IntPtrContinueRecordBuilder.
Inheritance
Implements
Namespace: Syncfusion.XlsIO.Parser.Biff_Records
Assembly: Syncfusion.XlsIO.NET.dll
Syntax
public class IntPtrContinueRecordBuilder : Object, IDisposable
Constructors
IntPtrContinueRecordBuilder(BiffRecordWithContinue, Int32)
Initializes new instance of the continue record builder.
Declaration
public IntPtrContinueRecordBuilder(BiffRecordWithContinue parent, int continueHeaderSize)
Parameters
Type | Name | Description |
---|---|---|
BiffRecordWithContinue | parent | Parent record. |
System.Int32 | continueHeaderSize | Size of the continue record header. |
Fields
m_iMax
Declaration
protected int m_iMax
Field Value
Type |
---|
System.Int32 |
m_iPos
Declaration
protected int m_iPos
Field Value
Type |
---|
System.Int32 |
m_parent
Declaration
protected BiffRecordWithContinue m_parent
Field Value
Properties
ContinueType
Type of additional records.
Declaration
public TBIFFRecord ContinueType { get; set; }
Property Value
Type |
---|
TBIFFRecord |
FirstContinueType
Type of the first additional record.
Declaration
public TBIFFRecord FirstContinueType { get; }
Property Value
Type |
---|
TBIFFRecord |
FirstRecordLength
Size of the first record.
Declaration
public int FirstRecordLength { get; }
Property Value
Type |
---|
System.Int32 |
FreeSpace
Returns the unused bytes.
Declaration
public int FreeSpace { get; }
Property Value
Type |
---|
System.Int32 |
Max
Return maximum size of record.
Declaration
public int Max { get; }
Property Value
Type |
---|
System.Int32 |
MaximumSize
Maximum size of the continue record data.
Declaration
public virtual int MaximumSize { get; }
Property Value
Type |
---|
System.Int32 |
Offset
Offset from the current record (or continue record) start. Read-only.
Declaration
public int Offset { get; }
Property Value
Type |
---|
System.Int32 |
Position
Declaration
public int Position { get; set; }
Property Value
Type |
---|
System.Int32 |
Total
Declaration
public int Total { get; set; }
Property Value
Type |
---|
System.Int32 |
Methods
AppendByte(Byte)
Declaration
public void AppendByte(byte value)
Parameters
Type | Name | Description |
---|---|---|
System.Byte | value |
AppendBytes(Byte[], Int32, Int32)
Write array of data into output stream.
Declaration
public virtual int AppendBytes(byte[] data, int start, int length)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | data | Array of data. |
System.Int32 | start | Start index of an array. |
System.Int32 | length | Length of data to copy. |
Returns
Type | Description |
---|---|
System.Int32 | Quantity of created Continue Records. |
AppendUInt16(UInt16)
Declaration
public void AppendUInt16(ushort value)
Parameters
Type | Name | Description |
---|---|---|
System.UInt16 | value |
CheckIfSpaceNeeded(Int32)
Method that checks if Continue Record is needed.
Declaration
public bool CheckIfSpaceNeeded(int length)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | length | Length of data that needs to be stored. |
Returns
Type | Description |
---|---|
System.Boolean | True if Continue Record will be needed for data storage; otherwise False. |
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
public void Dispose()
StartContinueRecord()
Declaration
public void StartContinueRecord()
UpdateContinueRecordSize()
Declaration
public void UpdateContinueRecordSize()
UpdateCounters(Int32)
Declaration
protected void UpdateCounters(int iLen)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | iLen |
Events
OnFirstContinue
Declaration
public event EventHandler OnFirstContinue
Event Type
Type |
---|
System.EventHandler |