API Reference

Class

LegacyXlsDrawingTextObject

Namespace OfficeIMO.Excel.LegacyXls.Model
Assembly OfficeIMO.Excel
Modifiers sealed

Describes the fixed header of a legacy BIFF TxO text-object record.

Inheritance

  • Object
  • LegacyXlsDrawingTextObject

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by

Accepted by parameters

Constructors

public LegacyXlsDrawingTextObject(UInt16 rawOptions, UInt16 rotation, UInt16 textCharacterCount, UInt16 formattingRunByteCount, UInt16 emptyFontIndex, Int32 formulaByteCount) #

Creates TxO text-object metadata.

Parameters

rawOptions System.UInt16 requiredposition: 0
rotation System.UInt16 requiredposition: 1
textCharacterCount System.UInt16 requiredposition: 2
formattingRunByteCount System.UInt16 requiredposition: 3
emptyFontIndex System.UInt16 requiredposition: 4
formulaByteCount System.Int32 requiredposition: 5

Properties

public UInt16 RawOptions { get; } #

Gets the raw TxO option bitfield.

public UInt16 HorizontalAlignment { get; } #

Gets the decoded horizontal alignment value.

public String HorizontalAlignmentName { get; } #

Gets a stable display name for the horizontal alignment value.

public UInt16 VerticalAlignment { get; } #

Gets the decoded vertical alignment value.

public String VerticalAlignmentName { get; } #

Gets a stable display name for the vertical alignment value.

public Boolean LockedText { get; } #

Gets whether the TxO text is locked.

public Boolean JustifyLastLine { get; } #

Gets whether the last line is justified.

public Boolean SecretEdit { get; } #

Gets whether secret edit mode is enabled.

public UInt16 Rotation { get; } #

Gets the raw TxO rotation value.

public String RotationName { get; } #

Gets a stable display name for the rotation value.

public UInt16 TextCharacterCount { get; } #

Gets the declared character count of text stored in following Continue records.

public UInt16 FormattingRunByteCount { get; } #

Gets the declared byte count of formatting runs stored in following Continue records.

public UInt16 EmptyFontIndex { get; } #

Gets the font index used when the text is empty.

public Int32 FormulaByteCount { get; } #

Gets the number of bytes available for the optional TxO formula field.

public Boolean HasTextInContinueRecords { get; } #

Gets whether this TxO declares text payload in following Continue records.

public Boolean HasFormattingRunsInContinueRecords { get; } #

Gets whether this TxO declares formatting-run payload in following Continue records.