Assistants TextBox / TextOutBox / GetTextRowCount de THPDFPage | Haut |
|
Place le texte dans des rectangles fixes en utilisant la police courante et les fonctions de métriques de texte HotPDF existantes Syntaxe Delphi : procedure TextBox(Rect: TRect; Text: AnsiString; Hor: THPDFJustificationType = jtLeft; Vert: THPDFTextBoxVerticalAlignment = tbvaTop); function TextOutBox(X, Y, LineSpacing, BoxWidth, BoxHeight: Integer; Text: AnsiString; Align: THPDFJustificationType = jtLeft): Integer; function GetTextRowCount(BoxWidth: Integer; Text: AnsiString): Integer;
|