TRTFRun Record
One RTF run for the text in a cell. FirstChar is the first (base 0) character to apply the format, and Font is the font definition for the text
Syntax
Unit: FlexCel.Core
TRTFRun = record;
Fields
| Name |
Description |
| RTFFirstChar​Comparer​Method |
A comparer which will compare only the first character of each run.
|
| FirstChar |
First character on the string where we will apply the font. (0 based) |
| Font |
Font for this string part.
|
Methods
| Name |
Description |
| Create |
Creates an RTFRun with the given values.
|
| ToByteArray |
Converts a TRTFRun array into a byte array for serialization.
|
| Equals |
Determines whether two TRTFRun instances are equal.
|
| GetHashCode |
Gets a hashcode for the TRTFRun instance.
|
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. |