GetHTMLTextWidth
Texto, Texto HTML
Descrição
Retorna o tamanho horizontal real de um bloco de texto HTML quando quebrado em uma largura máxima
pela função DrawHTMLText. Veja o Apêndice A para detalhes das tags HTML suportadas
Sintaxe
Delphi
Function TPDFlib.GetHTMLTextWidth(MaxWidth: Double; Const HTMLText: WideString): Double;
ActiveX
Function PDFlib::GetHTMLTextWidth(MaxWidth As Double, HTMLText As String) As Double
DLL
double DLGetHTMLTextWidth(int InstanceID, double MaxWidth, const wchar_t * HTMLText);
Parâmetros
| MaxWidth | A largura da área em que o texto seria desenhado |
|---|---|
| HTMLText | O texto HTML para o qual determinar a largura |