GetHTMLTextHeight
Testo, testo HTML
Descrizione
Restituisce l'altezza occupata da un blocco HTML sulla pagina, incluse righe Flexbox, tracce Grid e aree delle note a piè di pagina
Per i dettagli sui tag HTML e sulle proprietà CSS supportati, vedere l'Appendice A
Sintassi
Delphi
Function TPDFlib.GetHTMLTextHeight(Width: Double; Const HTMLText: WideString): Double;
ActiveX
Function PDFlib::GetHTMLTextHeight(Width As Double, HTMLText As String) As Double
DLL
double DLGetHTMLTextHeight(int InstanceID, double Width, const wchar_t * HTMLText);
Parametri
| Width | La larghezza dell'area in cui verrebbe disegnato il testo |
|---|---|
| HTMLText | HTML di cui determinare l'altezza. Per i dettagli sui tag HTML supportati, vedere l'Appendice A |