GetHTMLTextLineCountA

Text, HTML text

Description

O sufixo A indica o ponto de entrada ANSI (char) da DLL; a superfície ActiveX/COM expõe apenas a forma Unicode. O comportamento é idêntico ao de GetHTMLTextLineCount e os argumentos de cadeia de caracteres são interpretados com base na página de código atual definida por SetAnsiMode

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

WidthThe width of the area the text would be drawn into
HTMLTextThe HTML text to determine the number of lines of