Table of Contents

TRTFRun Structure

One RTF run for the text in a cell. FirstChar is the first (base 0) character to apply the format, and FontIndex is the font index for the text

Syntax

Namespace: FlexCel.Core

public struct TRTFRun

Fields

Name Description
FirstChar First character on the string where we will apply the font. (0 based)
FontIndex Font index for this string part.

Constructors

Name Description
TRTFRun Creates an RTFRun with the given values.

Methods

Name Description
ToByteArray Converts a TRTFRun array into a byte array for serialization.
ToRTFRunArray Converts a byte array into a TRTFRun array for serialization.
Equals Determines whether two TRTFRun instances are equal.
GetHashCode Gets a hashcode for the TRTFRun instance.

Operators

Name Description
Equality 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.
Inequality Determines whether two TRTFRun instances are different. To be considered equal, they must have the same text and the same formatting. That is, fontindex and firstchar must be equal.