GetHTMLTextWidth
Texto, texto HTML
Descripción
Devuelve el tamaño horizontal real de un bloque de texto HTML cuando se ajusta a un máximo
anchura mediante la función DrawHTMLText. Consulte el Apéndice A para conocer los detalles de las etiquetas HTML compatibles
Sintaxis
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 | La anchura de la zona en la que se dibujaría el texto |
|---|---|
| HTMLText | El texto HTML cuya anchura se va a determinar |