THPDFPage TextBox / TextOutBox / GetTextRowCount | Atas |
|
Menempatkan teks di persegi panjang tetap menggunakan font saat ini dan fungsi metrik teks HotPDF yang sudah ada Sintaks 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;
|