TRichString.TRichString Constructor
Overloads
- TRichString.TRichString
- TRichString.TRichString(String)
- TRichString.TRichString(String, TRTFRun[], ExcelFile)
- TRichString.TRichString(String, TRichString, Int32)
TRichString.TRichString
Constructs an empty RichString.
Syntax
Namespace: FlexCel.Core
public TRichString()
See also
TRichString.TRichString(String)
Constructs a RichString without formatting.
Syntax
Namespace: FlexCel.Core
public TRichString(String aValue)
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
aValue | String |
See also
TRichString.TRichString(String, TRTFRun[], ExcelFile)
Constructs a default RichString with text and RTF info.
Syntax
Namespace: FlexCel.Core
public TRichString(String aValue, TRTFRun[] aRTFRuns, ExcelFile aWorkbook)
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
aValue | String | Cell Text | |
aRTFRuns | TRTFRun[] | Array of TRTFRuns structs. This value will be COPIED, so old reference is not used | |
aWorkbook | ExcelFile | Workbook containing the fonts. |
See also
TRichString.TRichString(String, TRichString, Int32)
Constructs a default RichString with text and RTF info.
Syntax
Namespace: FlexCel.Core
public TRichString(String aValue, TRichString aRichString, Int32 offset)
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
aValue | String | Cell Text | |
aRichString | TRichString | Rich string with the RTF values to copy. This value will be COPIED, so old reference is not used | |
offset | Int32 | How many characters the RTFRun must be moved. For example: RichString(s.SubString(3), RTFRuns, 3) will adapt the RTFRun for s to the new substring. |