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

LeftThe left edge of the area to draw the text into
TopThe top edge of the area to draw the text into
WidthThe width of the area to draw the text into
HTMLTextThe HTML text to draw