GetHTMLTextLineCountA
Text, HTML text
Description
The trailing A denotes the ANSI (char) DLL entry point; the ActiveX/COM surface exposes only the Unicode form. Behaviour is identical to GetHTMLTextLineCount and string arguments are interpreted using the current SetAnsiMode code page
Returns the number of lines a block of HTML text will take up if it is drawn using the
DrawHTMLText function. See Appendix A for details of the supported HTML tags.
Syntax
Delphi
Function DLGetHTMLTextLineCountA(InstanceID: Integer; Width: Double; HTMLText: PAnsiChar): Integer;
DLL
int DLGetHTMLTextLineCountA(int InstanceID, double Width, const char * HTMLText);
Parameters
| Width | The width of the area the text would be drawn into |
|---|---|
| HTMLText | The HTML text to determine the number of lines of |