Search Results for

    Show / Hide Table of Contents

    TDrawingTextRun Structure

    A rich formatting run used in text inside of a drawing. This struct is immutable.

    Syntax

    Namespace: FlexCel.Core

    public struct TDrawingTextRun

    Constructors

    Name Description
    TDrawingTextRun Creates a new Text Run with some text.

    Methods

    Name Description
    CreateField Creates a new Text Run with a field.
    CompareTo Returns -1 if obj is bigger than this, 0 if both strings are the same, and 1 if obj is smaller than this.
    GetHashCode Returns the hashcode of the object.
    Equals Returns true if both instances have the same string and formatting.
    ToString String in the text run.
    WithNewFieldId Returns a new TDrawingTextRun with new field ids if the DrawingTextRun has field ids.
    While FlexCel will do this automatically when you link a shape, you can use this method when creating a new linked shape that requires new field ids.

    Operators

    Name Description
    Equality Returns true if both objects are equal.
    Inequality Returns true if both objects do not have the same value.
    LessThan Returns true is an object is less than the other.
    GreaterThan Returns true is an object is bigger than the other.

    Properties

    Name Description
    Text String that this text run holds. If this run holds a field, the text should be ignored.
    FieldName Field that this text run holds. If empty, then this run holds text and not a field.
    FieldId Id for the Field that this text run holds. It must be an unique GUID per field which has different linked cells.
    Two shapes with the same linked cell can share the same FieldId.
    IsFieldName If true, this run contains a field name and not text.
    TextProperties Properties for this text run.
    IsBreak Returns true if this run contains a single line break.
    In This Article
    Back to top FlexCel Studio for the .NET Framework v7.24.0.0
    © 2002 - 2025 tmssoftware.com