TRichString.SetFromHtml Method
Overloads
- TRichString.SetFromHtml(string, TFlxFormat, TCoreExcelFile)
- TRichString.SetFromHtml(string, TFlxFormat, TCoreExcelFile, Boolean)
TRichString.SetFromHtml(string, TFlxFormat, TCoreExcelFile)
Sets the rich string content from an HTML Formatted string. Note: This method is for advanced uses only. Normally you would just use TExcelFile.SetCellFromHtml(Integer, Integer, string, Integer)
Syntax
Unit: FlexCel.Core
procedure TRichString.SetFromHtml(const HtmlString: string; const aCellFormat: TFlxFormat; const aWorkbook: TCoreExcelFile); overload;
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
const | HtmlString | string | String with the HTML data. |
const | aCellFormat | TFlxFormat | Initial format of the cell where we want to enter the html string. |
const | aWorkbook | TCoreExcelFile | ExcelFile where the cell is. |
See also
TRichString.SetFromHtml(string, TFlxFormat, TCoreExcelFile, Boolean)
Sets the rich string content from an HTML Formatted string. Note: This method is for advanced uses only. Normally you would just use TExcelFile.SetCellFromHtml(Integer, Integer, string, Integer)
Syntax
Unit: FlexCel.Core
procedure TRichString.SetFromHtml(const HtmlString: string; const aCellFormat: TFlxFormat; const aWorkbook: TCoreExcelFile; const aMsFormat: Boolean); overload;
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
const | HtmlString | string | String with the HTML data. |
const | aCellFormat | TFlxFormat | Initial format of the cell where we want to enter the html string. |
const | aWorkbook | TCoreExcelFile | ExcelFile where the cell is. |
const | aMsFormat | Boolean | If true, we are reading a legacy object. |