THPDFPage TextBox / TextOutBox / GetTextRowCount | بالا |
|
متن را در مستطیلهای ثابت با استفاده از فونت جاری و توابع سنجش متن موجود HotPDF قرار میدهد نحو 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;
|