TRTFRun.Equality Operator
Determines whether two TRTFRun instances are equal. To be considered equal, they must have the same text and the same formatting. That is, fontindex and firstchar must be equal.
Remarks
Note that 2 TRTFRuns of different files might be equal but refer to different formatting, because FontIndex might point to different fonts.
Syntax
Namespace: FlexCel.Core
public static Boolean op_Equality(TRTFRun b1, TRTFRun b2)
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
b1 | TRTFRun | First TRTFRun instance to compare. | |
b2 | TRTFRun | Second TRTFRun instance to compare. |
Returns
true if both objects have the same text and the same formatting.