Search Results for

    Show / Hide Table of Contents

    TDrawingTextParagraph Structure

    A paragraph in the text inside a drawing. This struct is immutable.

    Syntax

    Namespace: FlexCel.Core

    public struct TDrawingTextParagraph

    Constructors

    Name Description
    TDrawingText​Paragraph Overloaded
    TDrawingTextParagraph(TDrawingTextRun[], TDrawingParagraphProperties, TDrawingTextProperties)
    TDrawingTextParagraph(String, TDrawingParagraphProperties, TDrawingTextProperties)
    TDrawingTextParagraph(TDrawingTextRun[], TDrawingParagraphProperties, TDrawingTextProperties, String)

    Methods

    Name Description
    TextRun Returns a single text run for the paragraph.
    Substring Retrieves a substring from this instance. The substring starts at a specified character position and has a specified length.
    ReplaceRun Returns a new paragraph with the run at position run replaced ny another.
    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.
    WithNewFieldIds Returns a new TDrawingText​Paragraph with new field ids if the DrawingTextParagraph 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
    Properties The properties that apply to this paragraph.
    EndParagraph​Properties Properties that apply to new paragraphs that are added after this one.
    TextRunCount Returns the number of runs in the paragraph.
    Text Returns the contents of the paragraph as plain text.
    UnknownXml Contains unknown xml read from an xlsx file. If this property is not empty, then the value here will be used and the rest of properties will be ignored when saving the file.
    Runs Returns all the text runs for this paragraph.
    This creates a copy of the array of runs, so if possible use TextRun instead to avoid memory allocations.
    In This Article
    Back to top FlexCel Studio for the .NET Framework v7.24.0.0
    © 2002 - 2025 tmssoftware.com