menu

UWP

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class TextObjectRecord - UWP API Reference | Syncfusion

    Show / Hide Table of Contents

    Class TextObjectRecord

    This record stores a text object. The TXO record is followed by two CONTINUE records. The first CONTINUE record contains the text data and the second CONTINUE contains the formatting runs. If the text box contains no text, these CONTINUE records are not written to the file.

    Inheritance
    System.Object
    Syncfusion.XlsIO.Parser.Biff_Records.BiffRecordRaw
    BiffRecordRawWithArray
    TextObjectRecord
    Implements
    System.ICloneable
    IBiffStorage
    System.IDisposable
    Inherited Members
    BiffRecordRawWithArray.AutoExtractFields()
    BiffRecordRawWithArray.AutoGrowData
    BiffRecordRawWithArray.AutoInfillFromFields()
    BiffRecordRawWithArray.CheckOffsetAndLength(Int32, Int32)
    BiffRecordRawWithArray.ClearData()
    BiffRecordRawWithArray.CopyTo(BiffRecordRaw)
    BiffRecordRawWithArray.Data
    BiffRecordRawWithArray.Dispose()
    BiffRecordRawWithArray.EnlargeDataStorageIfNeeded(Int32, Int32)
    BiffRecordRawWithArray.FillStream(BinaryWriter, DataProvider, IEncryptor, Int32)
    BiffRecordRawWithArray.FillStream(BinaryWriter, IEncryptor, Int32)
    BiffRecordRawWithArray.Finalize()
    BiffRecordRawWithArray.GetAddr(Int32)
    BiffRecordRawWithArray.GetAddrAsRectangle(Int32)
    BiffRecordRawWithArray.GetBit(Int32, Int32)
    BiffRecordRawWithArray.GetByte(Int32)
    BiffRecordRawWithArray.GetBytes(Int32, Int32)
    BiffRecordRawWithArray.GetDouble(Int32)
    BiffRecordRawWithArray.GetFloat(Int32)
    BiffRecordRawWithArray.GetInt16(Int32)
    BiffRecordRawWithArray.GetInt32(Int32)
    BiffRecordRawWithArray.GetInt64(Int32)
    BiffRecordRawWithArray.GetSortedFields()
    BiffRecordRawWithArray.GetStoreSize(ExcelVersion)
    BiffRecordRawWithArray.GetString(Int32, Int32)
    BiffRecordRawWithArray.GetString(Int32, Int32, Int32)
    BiffRecordRawWithArray.GetString(Int32, Int32, Int32, Boolean)
    BiffRecordRawWithArray.GetString16BitUpdateOffset(Int32)
    BiffRecordRawWithArray.GetString16BitUpdateOffset(Int32, Boolean)
    BiffRecordRawWithArray.GetStringByteLen(Int32)
    BiffRecordRawWithArray.GetStringByteLen(Int32, Int32)
    BiffRecordRawWithArray.GetStringUpdateOffset(Int32, Int32)
    BiffRecordRawWithArray.GetUInt16(Int32)
    BiffRecordRawWithArray.GetUInt32(Int32)
    BiffRecordRawWithArray.GetUInt64(Int32)
    BiffRecordRawWithArray.GetUnkTypeString(Int32, IList<Int32>, Int32, Int32, Int32, Byte[], Byte[])
    BiffRecordRawWithArray.GetValueByAttributeType(BiffRecordPosAttribute)
    BiffRecordRawWithArray.IsAsciiString(String)
    BiffRecordRawWithArray.IsEqual(BiffRecordRaw)
    BiffRecordRawWithArray.m_data
    BiffRecordRawWithArray.OnDispose()
    BiffRecordRawWithArray.ParseStructure(DataProvider, Int32, Int32, ExcelVersion)
    BiffRecordRawWithArray.Reserve(Int32)
    BiffRecordRawWithArray.SetAddr(Int32, Rectangle)
    BiffRecordRawWithArray.SetAddr(Int32, TAddr)
    BiffRecordRawWithArray.SetBit(Int32, Boolean, Int32)
    BiffRecordRawWithArray.SetByte(Int32, Byte)
    BiffRecordRawWithArray.SetByte(Int32, Byte, Int32)
    BiffRecordRawWithArray.SetBytes(Int32, Byte[])
    BiffRecordRawWithArray.SetBytes(Int32, Byte[], Int32, Int32)
    BiffRecordRawWithArray.SetDouble(Int32, Double)
    BiffRecordRawWithArray.SetFloat(Int32, Single)
    BiffRecordRawWithArray.SetInt16(Int32, Int16)
    BiffRecordRawWithArray.SetInt32(Int32, Int32)
    BiffRecordRawWithArray.SetInt64(Int32, Int64)
    BiffRecordRawWithArray.SetString16BitLen(Int32, String)
    BiffRecordRawWithArray.SetString16BitLen(Int32, String, Boolean, Boolean)
    BiffRecordRawWithArray.SetString16BitUpdateOffset(Int32, String)
    BiffRecordRawWithArray.SetString16BitUpdateOffset(Int32, String, Boolean)
    BiffRecordRawWithArray.SetStringByteLen(Int32, String)
    BiffRecordRawWithArray.SetStringNoLen(Int32, String)
    BiffRecordRawWithArray.SetStringNoLen(Int32, String, Boolean, Boolean)
    BiffRecordRawWithArray.SetStringNoLenDetectEncoding(Int32, String)
    BiffRecordRawWithArray.SetStringNoLenUpdateOffset(Int32, String, Boolean)
    BiffRecordRawWithArray.SetUInt16(Int32, UInt16)
    BiffRecordRawWithArray.SetUInt32(Int32, UInt32)
    BiffRecordRawWithArray.SetUInt64(Int32, UInt64)
    BiffRecordRawWithArray.SetValueByAttributeType(BiffRecordPosAttribute, Object)
    Namespace: Syncfusion.XlsIO.Parser.Biff_Records
    Assembly: Syncfusion.XlsIO.UWP.dll
    Syntax
    [Biff]
    public class TextObjectRecord : BiffRecordRawWithArray, ICloneable, IBiffStorage, IDisposable

    Constructors

    TextObjectRecord()

    Default constructor

    Declaration
    public TextObjectRecord()

    TextObjectRecord(Int32)

    Reserved for record's internal data array.

    Declaration
    public TextObjectRecord(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.

    TextObjectRecord(Stream, out Int32)

    Read / initialize constructor.

    Declaration
    public TextObjectRecord(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

    If stream is not specified.

    System.ApplicationException

    If stream does not support read or seek operations.

    Fields

    HAlignmentBitMask

    Bit mask for horizontal alignment.

    Declaration
    public const ushort HAlignmentBitMask = 14
    Field Value
    Type
    System.UInt16

    VAlignmentBitMask

    Bit mask for vertical alignment.

    Declaration
    public const ushort VAlignmentBitMask = 112
    Field Value
    Type
    System.UInt16

    Properties

    FormattingRunsLen

    Length of formatting runs (in second CONTINUE record).

    Declaration
    public ushort FormattingRunsLen { get; set; }
    Property Value
    Type
    System.UInt16

    HAlignment

    Horizontal text alignment. This property changes bits of m_usOptions private field.

    Declaration
    public ExcelCommentHAlign HAlignment { get; set; }
    Property Value
    Type
    ExcelCommentHAlign

    IsLockText

    Whether the Lock Text option is on.

    Declaration
    public bool IsLockText { get; set; }
    Property Value
    Type
    System.Boolean

    MaximumRecordSize

    Read-only. Maximum possible size of the record.

    Declaration
    public override int MaximumRecordSize { get; }
    Property Value
    Type
    System.Int32
    Overrides
    Syncfusion.XlsIO.Parser.Biff_Records.BiffRecordRaw.MaximumRecordSize

    MinimumRecordSize

    Read-only. Minimum possible size of the record.

    Declaration
    public override int MinimumRecordSize { get; }
    Property Value
    Type
    System.Int32
    Overrides
    Syncfusion.XlsIO.Parser.Biff_Records.BiffRecordRaw.MinimumRecordSize

    Reserved1

    Not used.

    Declaration
    public uint Reserved1 { get; }
    Property Value
    Type
    System.UInt32

    Reserved2

    Not used.

    Declaration
    public ushort Reserved2 { get; }
    Property Value
    Type
    System.UInt16

    Reserved3

    Not used.

    Declaration
    public uint Reserved3 { get; }
    Property Value
    Type
    System.UInt32

    Rotation

    Orientation of text within the object boundary.

    Declaration
    public ExcelTextRotation Rotation { get; set; }
    Property Value
    Type
    ExcelTextRotation

    TextLen

    Length of text (in first CONTINUE record).

    Declaration
    public ushort TextLen { get; set; }
    Property Value
    Type
    System.UInt16

    VAlignment

    Vertical text alignment: This property changes bits of m_usOptions private field.

    Declaration
    public ExcelCommentVAlign VAlignment { get; set; }
    Property Value
    Type
    ExcelCommentVAlign

    Methods

    ParseStructure()

    Parse structure of record. Converts data buffer to special values according to record specification.

    Declaration
    public override void ParseStructure()
    Overrides
    BiffRecordRawWithArray.ParseStructure()

    Implements

    System.ICloneable
    IBiffStorage
    System.IDisposable

    Extension Methods

    DateTimeExtension.ToDateTime(Object)
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved