DrawHTMLTextA
Text, HTML text, Page layout
Description
The trailing A denotes the ANSI (char) DLL entry point; the ActiveX/COM surface exposes only the Unicode form. Behaviour is identical to DrawHTMLText and string arguments are interpreted using the current SetAnsiMode code page
Draws HTML text onto the page. See Appendix A for details of the supported HTML tags
Syntax
Delphi
Function DLDrawHTMLTextA(InstanceID: Integer; Left, Top, Width: Double; HTMLText: PAnsiChar): Integer;
DLL
int DLDrawHTMLTextA(int InstanceID, double Left, double Top, double Width, const char* HTMLText);
Parameters
| Left | The left edge of the area to draw the text into |
|---|---|
| Top | The top edge of the area to draw the text into |
| Width | The width of the area to draw the text into |
| HTMLText | The HTML text to draw |