TDrawingRichString.ReplaceText Method
Replaces the existing text in this struct with the text in rs, keeping the properties of the text.
Syntax
Unit: FlexCel.Core
function TDrawingRichString.ReplaceText(const rs: TRichString; const xls: TCoreExcelFile): TDrawingRichString;
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
const | rs | TRichString | Text that we want the string to have. |
const | xls | TCoreExcelFile | Used to calculate indexed colors. Might be null. |