TDrawingRichString.FromRichString Method
Overloads
- TDrawingRichString.FromRichString(TRichString, TCoreExcelFile, TDrawingAlignment)
- TDrawingRichString.FromRichString(TRichString, TCoreExcelFile, TDrawingRichString, TDrawingAlignment)
- TDrawingRichString.FromRichString(TRichString, TCoreExcelFile, TDrawingRichString, TDrawingAlignment, Boolean)
TDrawingRichString.FromRichString(TRichString, TCoreExcelFile, TDrawingAlignment)
Returns a new TDrawingRichString from a TRichString. Note that the conversion is not perfect since information in both kind of strings is different.
Syntax
Unit: FlexCel.Core
class function TDrawingRichString.FromRichString(const aValue: TRichString; const xls: TCoreExcelFile; const HAlign: TDrawingAlignment): TDrawingRichString; static; overload;
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
const | aValue | TRichString | String that we want to convert. |
const | xls | TCoreExcelFile | Excel file with the string. It will be used to convert indexed colors if there are any. |
const | HAlign | TDrawingAlignment | Alignment for the paragraphs. |
See also
TDrawingRichString.FromRichString(TRichString, TCoreExcelFile, TDrawingRichString, TDrawingAlignment)
Returns a new TDrawingRichString from a TRichString. Note that the conversion is not perfect since information in both kind of strings is different.
Syntax
Unit: FlexCel.Core
class function TDrawingRichString.FromRichString(const aValue: TRichString; const xls: TCoreExcelFile; const origString: TDrawingRichString; const HAlign: TDrawingAlignment): TDrawingRichString; static; overload;
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
const | aValue | TRichString | String that we want to convert. |
const | xls | TCoreExcelFile | Excel file with the string. It will be used to convert indexed colors if there are any. |
const | origString | TDrawingRichString | String used as a template when replacing text. |
const | HAlign | TDrawingAlignment | Alignment for the paragraphs. |
See also
TDrawingRichString.FromRichString(TRichString, TCoreExcelFile, TDrawingRichString, TDrawingAlignment, Boolean)
Returns a new TDrawingRichString from a TRichString. Note that the conversion is not perfect since information in both kind of strings is different.
Syntax
Unit: FlexCel.Core
class function TDrawingRichString.FromRichString(const aValue: TRichString; const xls: TCoreExcelFile; const origString: TDrawingRichString; const HAlign: TDrawingAlignment; const splitIntoParagraphs: Boolean): TDrawingRichString; static; overload;
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
const | aValue | TRichString | String that we want to convert. |
const | xls | TCoreExcelFile | Excel file with the string. It will be used to convert indexed colors if there are any. |
const | origString | TDrawingRichString | String used as a template when replacing text. |
const | HAlign | TDrawingAlignment | Alignment for the paragraphs. |
const | splitIntoParagraphs | Boolean | You will normally want this parameter to be true. If false, returns in the text will be encoded in the same paragraph. This is needed in some parts in the xlsx file, but normally you want one paragraph per line. |