alexa
menu

MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class BiffRecordRawWithArray

    Summary description for BiffRecordRawWithArray.

    Inheritance
    object
    BiffRecordRaw
    BiffRecordRawWithArray
    BeginRecord
    BiffContinueRecordRaw
    CodeNameRecord
    ContinueRecord
    DConBinRecord
    DVRecord
    EndRecord
    ExternNameRecord
    ExternSheetRecord
    FilterModeRecord
    HLinkRecord
    HorizontalPageBreaksRecord
    InterfaceEndRecord
    LabelRangesRecord
    MSODrawingRecord
    MsoBase
    DataItemRecord
    PageItemIndexesRecord
    PageItemRecord
    PivotIndexListRecord
    PivotViewDefinitionRecord
    PivotViewFieldsExRecord
    PivotViewFieldsRecord
    PivotViewItemRecord
    ViewExtendedInfoRecord
    QuickTipRecord
    RStringRecord
    TextObjectRecord
    UnknownRecord
    Implements
    ICloneable
    IBiffStorage
    IDisposable
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Syncfusion.XlsIO.Parser.Biff_Records
    Assembly: Syncfusion.XlsIO.NET.dll
    Syntax
    [CLSCompliant(false)]
    public abstract class BiffRecordRawWithArray : BiffRecordRaw, ICloneable, IBiffStorage, IDisposable

    Constructors

    BiffRecordRawWithArray()

    Default constructor, gets code value using reflection and attributes.

    Declaration
    protected BiffRecordRawWithArray()

    BiffRecordRawWithArray(BinaryReader, out int)

    Read / initialize constructor.

    Declaration
    protected BiffRecordRawWithArray(BinaryReader reader, out int itemSize)
    Parameters
    Type Name Description
    BinaryReader reader

    BinaryReader from which record data should be read.

    int itemSize

    Size of the read item.

    Exceptions
    Type Condition
    ArgumentNullException

    When specified reader is NULL.

    BiffRecordRawWithArray(Stream, out int)

    Read / initialize constructor.

    Declaration
    protected BiffRecordRawWithArray(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.

    BiffRecordRawWithArray(int)

    Reserved for record's internal data array iReserve bytes.

    Declaration
    protected BiffRecordRawWithArray(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.

    Fields

    m_data

    Array that contains record data.

    Declaration
    protected byte[] m_data
    Field Value
    Type
    byte[]

    Properties

    AutoGrowData

    If True, the array will automatically grow when the offset limit is reached. This is required when the real record size is not known for an Infill operation. Will throw exception on buffer offset overrun when set to False. Default value is False.

    Declaration
    public override bool AutoGrowData { get; set; }
    Property Value
    Type
    bool
    Overrides
    Syncfusion.XlsIO.Parser.Biff_Records.BiffRecordRaw.AutoGrowData

    Data

    Read-only. Returns record data.

    Declaration
    public override byte[] Data { get; set; }
    Property Value
    Type
    byte[]
    Overrides
    Syncfusion.XlsIO.Parser.Biff_Records.BiffRecordRaw.Data

    Methods

    AutoExtractFields()

    Algorithm extracts field values from internal data storage.

    Declaration
    protected void AutoExtractFields()

    AutoInfillFromFields()

    Method tries by metadata information fill internal array of record.

    Declaration
    protected int AutoInfillFromFields()
    Returns
    Type Description
    int

    Size of the filled data.

    CheckOffsetAndLength(int, int)

    Declaration
    protected void CheckOffsetAndLength(int offset, int length)
    Parameters
    Type Name Description
    int offset
    int length

    ClearData()

    Clears internal data array.

    Declaration
    public override void ClearData()
    Overrides
    Syncfusion.XlsIO.Parser.Biff_Records.BiffRecordRaw.ClearData()

    CopyTo(BiffRecordRaw)

    Copies data from the current Biff record to the specified Biff record.

    Declaration
    public override void CopyTo(BiffRecordRaw raw)
    Parameters
    Type Name Description
    BiffRecordRaw raw

    Biff record that will receive data from the current record.

    Overrides
    Syncfusion.XlsIO.Parser.Biff_Records.BiffRecordRaw.CopyTo(Syncfusion.XlsIO.Parser.Biff_Records.BiffRecordRaw)
    Exceptions
    Type Condition
    ArgumentException

    When this record and parameter have different types.

    Dispose()

    Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

    Declaration
    public virtual void Dispose()

    EnlargeDataStorageIfNeeded(int, int)

    Enlarges the internal record data array to facilitate at least offset + length of data to be placed.

    Declaration
    protected void EnlargeDataStorageIfNeeded(int offset, int length)
    Parameters
    Type Name Description
    int offset

    Offset to the accessed data.

    int length

    Length of the needed data.

    FillStream(BinaryWriter, IEncryptor, int)

    Save record data to stream.

    Declaration
    public virtual int FillStream(BinaryWriter writer, IEncryptor encryptor, int streamPosition)
    Parameters
    Type Name Description
    BinaryWriter writer

    Writer that will receive record data.

    IEncryptor encryptor

    Object to encrypt data.

    int streamPosition

    Position in the output stream, used to reduce Flush calls of the writer.BaseStream.

    Returns
    Type Description
    int

    Size of the record.

    Exceptions
    Type Condition
    ArgumentNullException

    If writer is NULL.

    ApplicationException

    If m_iLength of internal record data array is less than zero.

    FillStream(BinaryWriter, DataProvider, IEncryptor, int)

    Save record data to stream.

    Declaration
    public override int FillStream(BinaryWriter writer, DataProvider provider, IEncryptor encryptor, int streamPosition)
    Parameters
    Type Name Description
    BinaryWriter writer

    Writer that will receive record data.

    DataProvider provider

    Object that provides access to the data.

    IEncryptor encryptor

    Object to encrypt data.

    int streamPosition

    Position in the output stream. Used to increase performance.

    Returns
    Type Description
    int

    Size of the record.

    Overrides
    BiffRecordRaw.FillStream(BinaryWriter, DataProvider, IEncryptor, int)
    Exceptions
    Type Condition
    ArgumentNullException

    If writer is NULL.

    ApplicationException

    If m_iLength of internal record data array is less than zero.

    ~BiffRecordRawWithArray()

    Declaration
    protected ~BiffRecordRawWithArray()

    GetAddr(int)

    Gets TAddr structure from internal record data.

    Declaration
    protected TAddr GetAddr(int offset)
    Parameters
    Type Name Description
    int offset

    Offset in bytes of TAddr structure to get.

    Returns
    Type Description
    TAddr

    Retrieved TAddr structure.

    GetAddrAsRectangle(int)

    Gets TAddr structure from internal record data.

    Declaration
    protected Rectangle GetAddrAsRectangle(int offset)
    Parameters
    Type Name Description
    int offset

    Offset in bytes of TAddr structure to get.

    Returns
    Type Description
    Rectangle

    Retrieved TAddr structure.

    GetBit(int, int)

    Gets single bit from internal record data using GetBytes.

    Declaration
    protected bool GetBit(int offset, int bitPos)
    Parameters
    Type Name Description
    int offset

    Offset of the byte that contains needed bit.

    int bitPos

    Position of bit in the byte.

    Returns
    Type Description
    bool

    True if specified bit is set to 1; otherwise False.

    Exceptions
    Type Condition
    ArgumentOutOfRangeException

    bitPos argument should be not less than zero and not more than 7.

    GetByte(int)

    Gets single byte from internal record data using GetBytes.

    Declaration
    protected byte GetByte(int offset)
    Parameters
    Type Name Description
    int offset

    Offset of byte to get.

    Returns
    Type Description
    byte

    Single byte from internal record data.

    GetBytes(int, int)

    Get array of bytes from internal record data.

    Declaration
    protected byte[] GetBytes(int offset, int length)
    Parameters
    Type Name Description
    int offset

    Offset of first byte of data to get.

    int length

    Length of required array.

    Returns
    Type Description
    byte[]

    Array of bytes from internal record data.

    Exceptions
    Type Condition
    ArgumentOutOfRangeException

    If offset is less than zero or more than internal record data array size or length is less than zero or more than internal record data array size or length plus offset is more than internal record data array size.

    GetDouble(int)

    Gets double from internal record data using GetBytes.

    Declaration
    protected double GetDouble(int offset)
    Parameters
    Type Name Description
    int offset

    Offset in bytes of double to get.

    Returns
    Type Description
    double

    Double from internal record data.

    GetFloat(int)

    Gets float from internal record data using GetBytes.

    Declaration
    protected float GetFloat(int offset)
    Parameters
    Type Name Description
    int offset

    Offset in bytes of float to get.

    Returns
    Type Description
    float

    Float from internal record data.

    GetInt16(int)

    Gets short from internal record data using GetBytes.

    Declaration
    protected short GetInt16(int offset)
    Parameters
    Type Name Description
    int offset

    Offset in bytes of short to get.

    Returns
    Type Description
    short

    Short from internal record.

    GetInt32(int)

    Gets int from internal record data using GetBytes.

    Declaration
    protected int GetInt32(int offset)
    Parameters
    Type Name Description
    int offset

    Offset in bytes of int to get.

    Returns
    Type Description
    int

    Int from internal record.

    GetInt64(int)

    Gets long from internal record data using GetBytes.

    Declaration
    protected long GetInt64(int offset)
    Parameters
    Type Name Description
    int offset

    Offset in bytes of long to get.

    Returns
    Type Description
    long

    Long from internal record data.

    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
    int
    Overrides
    BiffRecordRaw.GetStoreSize(ExcelVersion)

    GetString(int, int)

    Gets string from internal record data using GetBytes.

    Declaration
    protected string GetString(int offset, int iStrLen)
    Parameters
    Type Name Description
    int offset

    Offset of starting byte.

    int iStrLen

    Length of the string.

    Returns
    Type Description
    string

    Retrieved string.

    Exceptions
    Type Condition
    ArgumentOutOfRangeException

    if Offset + iStrLen is out of data array

    GetString(int, int, out int)

    Gets string from internal record data using GetBytes.

    Declaration
    protected string GetString(int offset, int iStrLen, out int iBytesInString)
    Parameters
    Type Name Description
    int offset

    Offset of starting byte.

    int iStrLen

    Length of the string.

    int iBytesInString

    Gets bytes count that this string occupies in the data array.

    Returns
    Type Description
    string

    Retrieved string.

    GetString(int, int, out int, bool)

    Gets string from internal record data using GetBytes.

    Declaration
    protected string GetString(int offset, int iStrLen, out int iBytesInString, bool isByteCounted)
    Parameters
    Type Name Description
    int offset

    Offset of starting byte.

    int iStrLen

    Length of the string.

    int iBytesInString

    Gets bytes count that this string occupies in the data array.

    bool isByteCounted

    Flag for is bytes count available.

    Returns
    Type Description
    string

    Retrieved string.

    GetString16BitUpdateOffset(ref int)

    Gets string from internal record data using GetBytes, and it increases the offset by string size in bytes.

    Declaration
    protected string GetString16BitUpdateOffset(ref int offset)
    Parameters
    Type Name Description
    int offset

    Offset of starting byte.

    Returns
    Type Description
    string

    Retrieved string.

    Exceptions
    Type Condition
    ArgumentOutOfRangeException

    if Offset + iStrLen is out of data array

    GetString16BitUpdateOffset(ref int, out bool)

    Gets string from internal record data using GetBytes, and it increases the offset by string size in bytes.

    Declaration
    protected string GetString16BitUpdateOffset(ref int offset, out bool asciiString)
    Parameters
    Type Name Description
    int offset

    Offset of starting byte.

    bool asciiString

    Indicates whether extracted string is ascii string (not unicode).

    Returns
    Type Description
    string

    Retrieved string.

    Exceptions
    Type Condition
    ArgumentOutOfRangeException

    if Offset + iStrLen is out of data array

    GetStringByteLen(int)

    Gets string from internal record data using GetBytes.

    Declaration
    protected string GetStringByteLen(int offset)
    Parameters
    Type Name Description
    int offset

    Offset of starting byte.

    Returns
    Type Description
    string

    Retrieved string.

    Exceptions
    Type Condition
    ArgumentOutOfRangeException

    if Offset + iStrLen is out of data array

    GetStringByteLen(int, out int)

    Gets string from internal record data using GetBytes.

    Declaration
    protected string GetStringByteLen(int offset, out int iBytes)
    Parameters
    Type Name Description
    int offset

    Offset of starting byte.

    int iBytes

    Returns size of the read data.

    Returns
    Type Description
    string

    Retrieved string.

    Exceptions
    Type Condition
    ArgumentOutOfRangeException

    if Offset + iStrLen is out of data array

    GetStringUpdateOffset(ref int, int)

    Gets string from internal record data using GetBytes and it increases offset by string size in bytes.

    Declaration
    protected string GetStringUpdateOffset(ref int offset, int iStrLen)
    Parameters
    Type Name Description
    int offset

    Offset of starting byte.

    int iStrLen

    Length of the string.

    Returns
    Type Description
    string

    Retrieved string.

    Exceptions
    Type Condition
    ArgumentOutOfRangeException

    if Offset + iStrLen is out of data array

    GetUInt16(int)

    Gets ushort from internal record data using GetBytes.

    Declaration
    protected ushort GetUInt16(int offset)
    Parameters
    Type Name Description
    int offset

    Offset in bytes of ushort to get.

    Returns
    Type Description
    ushort

    Ushort from internal record data.

    GetUInt32(int)

    Gets uint from internal record data using GetBytes.

    Declaration
    protected uint GetUInt32(int offset)
    Parameters
    Type Name Description
    int offset

    Offset in bytes of uint to get.

    Returns
    Type Description
    uint

    Uint from internal record data.

    GetUInt64(int)

    Gets ulong from internal record data using GetBytes.

    Declaration
    protected ulong GetUInt64(int offset)
    Parameters
    Type Name Description
    int offset

    Offset in bytes of ulong to get.

    Returns
    Type Description
    ulong

    Ulong from internal record data.

    GetUnkTypeString(int, IList<int>, int, ref int, out int, out byte[], out byte[])

    Detect type of string and extracts it.

    Declaration
    protected string GetUnkTypeString(int offset, IList<int> continuePos, int continueCount, ref int iBreakIndex, out int length, out byte[] rich, out byte[] extended)
    Parameters
    Type Name Description
    int offset

    Record data offset.

    IList<int> continuePos

    Contain next position.

    int continueCount

    Number of elements in the continuePos collection.

    int iBreakIndex

    Current index in the continuePos array.

    int length

    Length of string record.

    byte[] rich

    Array of rich formatting values.

    byte[] extended

    Array of unknown FarEast data.

    Returns
    Type Description
    string

    Extracted string.

    GetValueByAttributeType(BiffRecordPosAttribute)

    Gets value of the field by BiffRecordPosAttribute.

    Declaration
    protected object GetValueByAttributeType(BiffRecordPosAttribute attr)
    Parameters
    Type Name Description
    BiffRecordPosAttribute attr

    BiffRecordPosAttribute that describes required field.

    Returns
    Type Description
    object

    Value of the field.

    IsAsciiString(string)

    Detects whether specified string contains only characters supported by ASCII encoding.

    Declaration
    public static bool IsAsciiString(string strTextPart)
    Parameters
    Type Name Description
    string strTextPart

    String to check.

    Returns
    Type Description
    bool

    True if this string is fully supported by ASCII encoding.

    IsEqual(BiffRecordRaw)

    Compares two Biff records.

    Declaration
    public override bool IsEqual(BiffRecordRaw raw)
    Parameters
    Type Name Description
    BiffRecordRaw raw

    Biff record that should be compared with this Biff record.

    Returns
    Type Description
    bool

    True if this instance and extFormat contain the same data.

    Overrides
    Syncfusion.XlsIO.Parser.Biff_Records.BiffRecordRaw.IsEqual(Syncfusion.XlsIO.Parser.Biff_Records.BiffRecordRaw)

    OnDispose()

    Declaration
    protected virtual void OnDispose()

    ParseStructure()

    Parse structure of record. Convert Data buffer to special values according to record specification.

    Declaration
    public abstract void ParseStructure()

    ParseStructure(DataProvider, int, int, ExcelVersion)

    Parse structure of record. Convert 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.

    Overrides
    BiffRecordRaw.ParseStructure(DataProvider, int, int, ExcelVersion)

    Reserve(int)

    Reserve memory for internal array.

    Declaration
    protected void Reserve(int length)
    Parameters
    Type Name Description
    int length

    Number of bytes that should be reserved.

    SetAddr(int, Rectangle)

    Sets TAddr structure in internal record data.

    Declaration
    protected void SetAddr(int offset, Rectangle addr)
    Parameters
    Type Name Description
    int offset

    Offset in bytes of TAddr structure to set.

    Rectangle addr

    New value of the Rectangle at the specified position.

    SetAddr(int, TAddr)

    Sets TAddr structure in internal record data.

    Declaration
    protected void SetAddr(int offset, TAddr addr)
    Parameters
    Type Name Description
    int offset

    Offset in bytes of TAddr structure to set.

    TAddr addr

    New value of the TAddr at the specified position.

    SetBit(int, bool, int)

    Sets one bit in specified byte in internal record data array.

    Declaration
    protected void SetBit(int offset, bool value, int bitPos)
    Parameters
    Type Name Description
    int offset

    Offset of the byte in the internal record data array.

    bool value

    Value of bit.

    int bitPos

    Bit position in the byte.

    Exceptions
    Type Condition
    ArgumentOutOfRangeException

    If bitPos is less than zero or more than 7.

    SetByte(int, byte)

    Sets single byte in internal record data array using SetBytes method.

    Declaration
    protected void SetByte(int offset, byte value)
    Parameters
    Type Name Description
    int offset

    Offset to the required byte.

    byte value

    New value for the byte.

    SetByte(int, byte, int)

    Declaration
    protected void SetByte(int offset, byte value, int count)
    Parameters
    Type Name Description
    int offset
    byte value
    int count

    SetBytes(int, byte[])

    Sets bytes in internal record data array values.

    Declaration
    protected void SetBytes(int offset, byte[] value)
    Parameters
    Type Name Description
    int offset

    Offset in internal record data array to start from.

    byte[] value

    Array of bytes to set.

    Exceptions
    Type Condition
    ArgumentOutOfRangeException

    If value array is NULL.

    ArgumentOutOfRangeException

    If pos or length would be less than zero or their sum would be more than size of value array.

    ArgumentOutOfRangeException

    If internal record data array is too small for receiving value array and AutoGrowData is False.

    SetBytes(int, byte[], int, int)

    Sets bytes in internal record data array values.

    Declaration
    protected void SetBytes(int offset, byte[] value, int pos, int length)
    Parameters
    Type Name Description
    int offset

    Offset in internal record data array to start from.

    byte[] value

    Array of bytes to set.

    int pos

    Position in value array to the data that will be set.

    int length

    Length of the data.

    Exceptions
    Type Condition
    ArgumentOutOfRangeException

    If value array is NULL.

    ArgumentOutOfRangeException

    If pos or length would be less than zero or their sum would be more than size of value array.

    ArgumentOutOfRangeException

    If internal record data array is too small for receiving value array and AutoGrowData is False.

    SetDouble(int, double)

    Sets double in internal record data array using SetBytes method.

    Declaration
    protected void SetDouble(int offset, double value)
    Parameters
    Type Name Description
    int offset

    Offset to the required value.

    double value

    New value for the specified double.

    SetFloat(int, float)

    Sets float in internal record data array using SetBytes method.

    Declaration
    protected void SetFloat(int offset, float value)
    Parameters
    Type Name Description
    int offset

    Offset to the required value.

    float value

    New value for the specified float.

    SetInt16(int, short)

    Sets short in internal record data array using SetBytes method.

    Declaration
    protected void SetInt16(int offset, short value)
    Parameters
    Type Name Description
    int offset

    Offset to the required value.

    short value

    New value for the specified short.

    SetInt32(int, int)

    Sets int in internal record data array using SetBytes method.

    Declaration
    protected void SetInt32(int offset, int value)
    Parameters
    Type Name Description
    int offset

    Offset to the required value.

    int value

    New value for the specified int.

    SetInt64(int, long)

    Sets long in internal record data array using SetBytes method.

    Declaration
    protected void SetInt64(int offset, long value)
    Parameters
    Type Name Description
    int offset

    Offset to the required value.

    long value

    New value for the specified long.

    SetString16BitLen(int, string)

    Sets string in internal record data array using SetBytes method. The String length is saved in two bytes.

    Declaration
    protected int SetString16BitLen(int offset, string value)
    Parameters
    Type Name Description
    int offset

    Offset to the string.

    string value

    Value of the string.

    Returns
    Type Description
    int

    Size of the string in bytes.

    SetString16BitLen(int, string, bool, bool)

    Sets string in internal record data array using SetBytes method. The String length is saved in two bytes.

    Declaration
    protected int SetString16BitLen(int offset, string value, bool bEmptyCompressed, bool isCompressed)
    Parameters
    Type Name Description
    int offset

    Offset to the string.

    string value

    Value of the string.

    bool bEmptyCompressed

    Indicates whether write compressed attribute for empty strings.

    bool isCompressed

    Indicates whether string should be compressed or not.

    Returns
    Type Description
    int

    Size of the string in bytes.

    SetString16BitUpdateOffset(ref int, string)

    Sets string in internal record data array using SetBytes method. The String length is saved in two bytes

    Declaration
    protected void SetString16BitUpdateOffset(ref int offset, string value)
    Parameters
    Type Name Description
    int offset

    Offset to the string.

    string value

    Value of the string.

    SetString16BitUpdateOffset(ref int, string, bool)

    Sets string in internal record data array using SetBytes method. The String length is saved in two bytes

    Declaration
    protected void SetString16BitUpdateOffset(ref int offset, string value, bool isCompressed)
    Parameters
    Type Name Description
    int offset

    Offset to the string.

    string value

    Value of the string.

    bool isCompressed

    Indicates whether string should be compressed or not.

    SetStringByteLen(int, string)

    Sets string in internal record data array using SetBytes method. The String length is saved in one byte.

    Declaration
    protected int SetStringByteLen(int offset, string value)
    Parameters
    Type Name Description
    int offset

    Offset to the string.

    string value

    Value of the string.

    Returns
    Type Description
    int

    Size of the string data.

    SetStringNoLen(int, string)

    Sets string in internal record data array using SetBytes method without string length.

    Declaration
    protected int SetStringNoLen(int offset, string value)
    Parameters
    Type Name Description
    int offset

    Offset to the string.

    string value

    Value of the string.

    Returns
    Type Description
    int

    Size of the string in bytes.

    SetStringNoLen(int, string, bool, bool)

    Sets string in internal record data array using SetBytes method without string length.

    Declaration
    protected int SetStringNoLen(int offset, string value, bool bEmptyCompressed, bool bCompressed)
    Parameters
    Type Name Description
    int offset

    Offset to the string.

    string value

    Value of the string.

    bool bEmptyCompressed

    Indicates whether write compressed attribute for empty strings.

    bool bCompressed

    Indicates whether to write compressed (ascii) string or not.

    Returns
    Type Description
    int

    Size of the string in bytes.

    SetStringNoLenDetectEncoding(int, string)

    Sets string in internal record data array using SetBytes method without string length.

    Declaration
    protected int SetStringNoLenDetectEncoding(int offset, string value)
    Parameters
    Type Name Description
    int offset

    Offset to the string.

    string value

    Value of the string.

    Returns
    Type Description
    int

    Size of the string in bytes.

    SetStringNoLenUpdateOffset(ref int, string, bool)

    Sets string in internal record data array using SetBytes method without string length, updates offset parameter (adds string length).

    Declaration
    protected void SetStringNoLenUpdateOffset(ref int offset, string value, bool isCompression)
    Parameters
    Type Name Description
    int offset

    Offset to the string.

    string value

    Value of the string.

    bool isCompression

    Indicates whether string should be compressed or not.

    SetUInt16(int, ushort)

    Sets ushort in internal record data array using SetBytes method.

    Declaration
    protected void SetUInt16(int offset, ushort value)
    Parameters
    Type Name Description
    int offset

    Offset to the required value.

    ushort value

    New value for the specified ushort.

    SetUInt32(int, uint)

    Sets uint in internal record data array using SetBytes method.

    Declaration
    protected void SetUInt32(int offset, uint value)
    Parameters
    Type Name Description
    int offset

    Offset to the required value.

    uint value

    New value for the specified uint.

    SetUInt64(int, ulong)

    Sets ulong in internal record data array using SetBytes method.

    Declaration
    protected void SetUInt64(int offset, ulong value)
    Parameters
    Type Name Description
    int offset

    Offset to the required value.

    ulong value

    New value for the specified ulong.

    SetValueByAttributeType(BiffRecordPosAttribute, object)

    Sets value of the specified field.

    Declaration
    protected int SetValueByAttributeType(BiffRecordPosAttribute attr, object data)
    Parameters
    Type Name Description
    BiffRecordPosAttribute attr

    BiffRecordPosAttribute that describes required field.

    object data

    New field value.

    Returns
    Type Description
    int

    Size of the used data.

    Implements

    ICloneable
    IBiffStorage
    IDisposable
    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved