Search Results for

    Show / Hide Table of Contents

    TDrawingTextRun Record

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

    Syntax

    Unit: FlexCel.Core

    TDrawingTextRun = record;

    Methods

    Name Description
    Create Creates a new Text Run with some text.
    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 Adapts the = operator so it returns true when both instances have the same values.
    Inequality Adapts the <> operator so it returns true when both instances have different values.
    LessThan Adapts the < operator so it returns true when the first parameter is smaller than the second.
    GreaterThan Adapts the > operator so it returns true when the first parameter is bigger than the second.

    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 VCL and FireMonkey v7.24
    © 2002 - 2025 tmssoftware.com