TDrawingTextParagraph Record
A paragraph in the text inside a drawing. This struct is immutable.
Syntax
Unit: FlexCel.Core
TDrawingTextParagraph = record;
Methods
| Name |
Description |
| CompareTo |
Returns -1 if obj is bigger than this, 0 if both strings are the same, and 1 if obj is smaller than this.
|
| Create |
Overloaded Create(TDrawingTextRunArray, TDrawingParagraphProperties, TDrawingTextProperties) Create(string, TDrawingParagraphProperties, TDrawingTextProperties) Create(TDrawingTextRunArray, TDrawingParagraphProperties, TDrawingTextProperties, string)
|
| Equals |
Returns true if both instances have the same string and formatting.
|
| GetHashCode |
Returns the hashcode of the object.
|
| ReplaceRun |
Returns a new paragraph with the run at position run replaced ny another.
|
| Substring |
Retrieves a substring from this instance. The substring starts at a specified character position and has a specified length.
|
| TextRun |
Returns a single text run for the paragraph.
|
| 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 |
Adapts the = operator so it returns true when both instances have the same values. |
| GreaterThan |
Adapts the > operator so it returns true when the first parameter is bigger than the second. |
| 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. |
Properties
| Name |
Description |
| EndParagraph​Properties |
Properties that apply to new paragraphs that are added after this one.
|
| Properties |
The properties that apply to this paragraph.
|
| 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.
|
| Text |
Returns the contents of the paragraph as plain text.
|
| TextRunCount |
Returns the number of runs in the paragraph.
|
| 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.
|