Class IntPtrContinueRecordBuilder
Summary description for IntPtrContinueRecordBuilder.
Inheritance
System.Object
IntPtrContinueRecordBuilder
Implements
System.IDisposable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: Syncfusion.XlsIO.Base.dll
Syntax
[CLSCompliant(false)]
public class IntPtrContinueRecordBuilder : 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
Field Value
m_iPos
Declaration
Field Value
m_parent
Declaration
protected BiffRecordWithContinue m_parent
Field Value
Properties
ContinueType
Type of additional records.
Declaration
public TBIFFRecord ContinueType { get; set; }
Property Value
FirstContinueType
Type of the first additional record.
Declaration
public TBIFFRecord FirstContinueType { get; }
Property Value
FirstRecordLength
Size of the first record.
Declaration
public int FirstRecordLength { get; }
Property Value
FreeSpace
Returns the unused bytes.
Declaration
public int FreeSpace { get; }
Property Value
Max
Return maximum size of record.
Declaration
Property Value
MaximumSize
Maximum size of the continue record data.
Declaration
public virtual int MaximumSize { get; }
Property Value
Offset
Offset from the current record (or continue record) start. Read-only.
Declaration
public int Offset { get; }
Property Value
Position
Declaration
public int Position { get; set; }
Property Value
Total
Declaration
public int Total { get; set; }
Property Value
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
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
Implements
System.IDisposable