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
ancho mediante la función DrawHTMLText. Consulte el apéndice A para conocer los detalles de las etiquetas HTML admitidas
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 | Ancho del área donde se dibujaría el texto |
|---|---|
| HTMLText | El texto HTML cuya anchura se debe determinar |