GemBox.Spreadsheet
  • Overview
  • Examples
  • Free version
  • Support
  • Pricelist

    Show / Hide Table of Contents

    TextElement Class

    Namespace:
    GemBox.Spreadsheet.Drawing
    Assembly:
    GemBox.Spreadsheet.dll

    Represents a base class for text elements such as runs, fields, line breaks and unknown text elements.

    • C#
    • VB.NET
    public abstract class TextElement
    Public MustInherit Class TextElement
    Inheritance:
    System.Object
    TextElement
    Derived
    TextField
    TextLineBreak
    TextRun

    Properties

    ElementType

    Gets the type of the text element.

    • C#
    • VB.NET
    public abstract TextElementType ElementType { get; }
    Public MustOverride ReadOnly Property ElementType As TextElementType
    Property Value
    TextElementType

    The type of the text element.

    Format

    Gets or sets the text formatting options.

    • C#
    • VB.NET
    public TextFormat Format { get; set; }
    Public Property Format As TextFormat
    Property Value
    TextFormat

    The text formatting options.

    Parent

    Gets the parent text paragraph or null if text element was deleted.

    • C#
    • VB.NET
    public TextParagraph Parent { get; }
    Public ReadOnly Property Parent As TextParagraph
    Property Value
    TextParagraph

    The parent text paragraph or null if text element was deleted.

    Back to top

    Facebook • Twitter • LinkedIn

    © GemBox Ltd. — All rights reserved.