DrawHTMLTextBoxMatrix
Testo, testo HTML, layout di pagina
Descrizione
Simile a DrawHTMLTextBox ma posizione, scala e rotazione sono specificate da matrice
Restituisce il testo HTML rimanente, passabile nuovamente alla funzione, anche su un'altra pagina o posizione, finché restituisce una stringa vuota.
Vedere l'Appendice A per i dettagli sui tag HTML supportati
Sintassi
Delphi
Function TPDFlib.DrawHTMLTextBoxMatrix(Width, Height: Double; Const HTMLText: WideString; M11, M12, M21, M22, MDX, MDY: Double): WideString;
ActiveX
Function PDFlib::DrawHTMLTextBoxMatrix(Width As Double, Height As Double, HTMLText As String, M11 As Double, M12 As Double, M21 As Double, M22 As Double, MDX As Double, MDY As Double) As String
DLL
const wchar_t* DLDrawHTMLTextBoxMatrix(int InstanceID, double Width, double Height, const wchar_t* HTMLText, double M11, double M12, double M21, double M22, double MDX, double MDY);
const char* DLDrawHTMLTextBoxMatrixA(int InstanceID, double Width, double Height, const char* HTMLText, double M11, double M12, double M21, double M22, double MDX, double MDY);
Parametri
| Width | La larghezza dell'area di disegno |
|---|---|
| Height | L'altezza dell'area di disegno |
| HTMLText | Il testo HTML da disegnare |
| M11 | Componente della matrice |
| M12 | Componente della matrice |
| M21 | Componente della matrice |
| M22 | Componente della matrice |
| MDX | Componente della matrice |
| MDY | Componente della matrice |
Valori restituiti
Restituisce il testo HTML che non ha potuto essere disegnato nel riquadro, o una stringa vuota quando tutto il contenuto è stato disposto. Una stringa vuota viene restituita anche quando Width non è positivo.